Skip to content
Myr

package.json

This file

Path

package.json

114 lines · 2.9 KiB · JSON

Last changed by

Update package.json (#167)Mr.Hopebefore adoption1194efb

History of this file

Take it

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 1–2
1{
2 "name": "mitt",

3.0.0Jason Millerbefore adoption13905bd

line 3why, one step back
3 "version": "3.0.0",

Update docs.Jason Millerbefore adoption07f8819

line 4why, one step back
4 "description": "Tiny 200b functional Event Emitter / pubsub.",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 5why, one step back
5 "module": "dist/mitt.mjs",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 6
6 "main": "dist/mitt.js",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 7why, one step back
7 "jsnext:main": "dist/mitt.mjs",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 8
8 "umd:main": "dist/mitt.umd.js",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 9why, one step back
9 "source": "src/index.ts",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

line 10why, one step back
10 "typings": "index.d.ts",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 11why, one step back
11 "exports": {

Update package.json (#167)Mr.Hopebefore adoption1194efb

line 12why, one step back
12 "types": "./index.d.ts",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

lines 13–16why, one step back
13 "import": "./dist/mitt.mjs",
14 "require": "./dist/mitt.js",15 "default": "./dist/mitt.mjs"16 },

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 17
17 "scripts": {

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 18–19why, one step back
18 "test": "npm-run-all --silent typecheck lint mocha test-types",
19 "mocha": "mocha test",

Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689

line 20why, one step back
20 "test-types": "tsc test/test-types-compilation.ts --noEmit --strict",

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 21why, one step back
21 "lint": "eslint src test --ext ts --ext js",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

line 22why, one step back
22 "typecheck": "tsc --noEmit",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 23why, one step back
23 "bundle": "microbundle -f es,cjs,umd",

remove older gzip size calculationJason Millerbefore adoption34ce9a4

line 24why, one step back
24 "build": "npm-run-all --silent clean -p bundle -s docs",

Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea

line 25why, one step back
25 "clean": "rimraf dist",

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 26why, one step back
26 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",

2.1.0Jason Millerbefore adoption22c5dcb

line 27why, one step back
27 "release": "npm run -s build -s && npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 28–32
28 },
29 "repository": "developit/mitt",30 "keywords": [31 "events",32 "eventemitter",

Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c

line 33why, one step back
33 "emitter",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 34–35
34 "pubsub"
35 ],

Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1

line 36why, one step back
36 "homepage": "https://github.com/developit/mitt",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 37–41
37 "authors": [
38 "Jason Miller <jason@developit.ca>"39 ],40 "license": "MIT",41 "files": [

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 42–43why, one step back
42 "dist",
43 "index.d.ts"

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 44
44 ],

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 45–56why, one step back
45 "mocha": {
46 "extension": [47 "ts"48 ],49 "require": [50 "ts-node/register",51 "esm"52 ],53 "spec": [54 "test/*_test.ts"55 ]56 },

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 57
57 "eslintConfig": {

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 58why, one step back
58 "extends": [

Use eslint-config-developitJason Millerbefore adoption59cc3d1

line 59why, one step back
59 "developit",

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

lines 60–63why, one step back
60 "plugin:@typescript-eslint/eslint-recommended",
61 "plugin:@typescript-eslint/recommended"62 ],63 "parser": "@typescript-eslint/parser",

update depsJason Millerbefore adoptiondbd661a

lines 64–66why, one step back
64 "parserOptions": {
65 "sourceType": "module"66 },

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 67–69
67 "env": {
68 "browser": true,69 "mocha": true,

Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c

line 70why, one step back
70 "jest": false,

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 71–74
71 "es6": true
72 },73 "globals": {74 "expect": true

Enforce semicolonsJason Millerbefore adoptionf9c8ea3

lines 75–76why, one step back
75 },
76 "rules": {

Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90

lines 77–79why, one step back
77 "semi": [
78 2,79 "always"

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 80why, one step back
80 ],

Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c

line 81why, one step back
81 "jest/valid-expect": 0,

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

lines 82–83why, one step back
82 "@typescript-eslint/no-explicit-any": 0,
83 "@typescript-eslint/explicit-function-return-type": 0,

Update all dependenciesJason Millerbefore adoptiondd64eea

line 84why, one step back
84 "@typescript-eslint/explicit-module-boundary-types": 0,

Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689

lines 85–86why, one step back
85 "@typescript-eslint/no-empty-function": 0,
86 "@typescript-eslint/no-non-null-assertion": 0

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 87–88
87 }
88 },

Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c

line 89why, one step back
89 "eslintIgnore": [

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 90–91why, one step back
90 "dist",
91 "index.d.ts"

Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c

line 92why, one step back
92 ],

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 93
93 "devDependencies": {

Update all dependenciesJason Millerbefore adoptiondd64eea

lines 94–100why, one step back
94 "@types/chai": "^4.2.11",
95 "@types/mocha": "^7.0.2",96 "@types/sinon": "^9.0.4",97 "@types/sinon-chai": "^3.2.4",98 "@typescript-eslint/eslint-plugin": "^3.0.1",99 "@typescript-eslint/parser": "^3.0.1",100 "chai": "^4.2.0",

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 101why, one step back
101 "documentation": "^13.0.0",

Update all dependenciesJason Millerbefore adoptiondd64eea

line 102why, one step back
102 "eslint": "^7.1.0",

Use eslint-config-developitJason Millerbefore adoption59cc3d1

line 103why, one step back
103 "eslint-config-developit": "^1.2.0",

fix test runnerJason Millerbefore adoption80bbdbe

line 104why, one step back
104 "esm": "^3.2.25",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 105–106why, one step back
105 "microbundle": "^0.12.3",
106 "mocha": "^8.0.1",

Update all dependenciesJason Millerbefore adoptiondd64eea

lines 107–110why, one step back
107 "npm-run-all": "^4.1.5",
108 "rimraf": "^3.0.2",109 "sinon": "^9.0.2",110 "sinon-chai": "^3.5.0",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

line 111why, one step back
111 "ts-node": "^8.10.2",

Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689

line 112why, one step back
112 "typescript": "^3.9.7"

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 113–114
113 }
114}