package.json
This file
Path
package.json
94 lines · 2.5 KiB · JSON
Last changed by
2.0.1Jason Millerbefore adoption5959175
History of this fileTake it
1{2 "name": "mitt",2.0.1Jason Millerbefore adoption5959175
line 3why, one step back3 "version": "2.0.1",Update docs.Jason Millerbefore adoption07f8819
line 4why, one step back4 "description": "Tiny 200b functional Event Emitter / pubsub.",fix(builds): point `jsnext:main` to the ESM build instead of src, which contains things like Flowtype annotations that are not stripped by most build toolsJason Millerbefore adoption0cad092
line 5why, one step back5 "jsnext:main": "dist/mitt.es.js",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 6why, one step back6 "source": "src/index.ts",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 7why, one step back7 "module": "dist/mitt.es.js",simple build scriptJason Millerbefore adoption0ead0ba
line 8why, one step back8 "esmodules": "dist/mitt.modern.js",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 9–109 "main": "dist/mitt.js",10 "umd:main": "dist/mitt.umd.js",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 11why, one step back11 "typings": "dist/index.d.ts",12 "scripts": {Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
lines 13–14why, one step back13 "test": "npm-run-all --silent typecheck lint testonly",14 "testonly": "mocha --require esm test/**/*.js",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 15why, one step back15 "lint": "eslint src test --ext ts --ext js",Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 16why, one step back16 "typecheck": "tsc **/*.ts --noEmit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 17why, one step back17 "bundle": "microbundle",remove older gzip size calculationJason Millerbefore adoption34ce9a4
line 18why, one step back18 "build": "npm-run-all --silent clean -p bundle -s docs",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 19why, one step back19 "clean": "rimraf dist",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 20why, one step back20 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",2.0.0Jason Millerbefore adoption4594463
line 21why, one step back21 "release": "npm run -s build -s && npm t && git commit -m $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 22–2622 },23 "repository": "developit/mitt",24 "keywords": [25 "events",26 "eventemitter",Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 27why, one step back27 "emitter",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 28–2928 "pubsub"29 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 30why, one step back30 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 31–3631 "authors": [32 "Jason Miller <jason@developit.ca>"33 ],34 "license": "MIT",35 "files": [36 "src",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 37why, one step back37 "dist"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 38–3938 ],39 "eslintConfig": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 40why, one step back40 "extends": [Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 41why, one step back41 "developit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 42–45why, one step back42 "plugin:@typescript-eslint/eslint-recommended",43 "plugin:@typescript-eslint/recommended"44 ],45 "parser": "@typescript-eslint/parser",update depsJason Millerbefore adoptiondbd661a
lines 46–48why, one step back46 "parserOptions": {47 "sourceType": "module"48 },Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 49–5149 "env": {50 "browser": true,51 "mocha": true,Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 52why, one step back52 "jest": false,Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 53–5653 "es6": true54 },55 "globals": {56 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 57–58why, one step back57 },58 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 59–61why, one step back59 "semi": [60 2,61 "always"Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 62why, one step back62 ],Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 63why, one step back63 "jest/valid-expect": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 64–65why, one step back64 "@typescript-eslint/no-explicit-any": 0,65 "@typescript-eslint/explicit-function-return-type": 0,Update all dependenciesJason Millerbefore adoptiondd64eea
line 66why, one step back66 "@typescript-eslint/explicit-module-boundary-types": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 67why, one step back67 "@typescript-eslint/no-empty-function": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 68–6968 }69 },Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
lines 70–72why, one step back70 "eslintIgnore": [71 "dist"72 ],73 "devDependencies": {Update all dependenciesJason Millerbefore adoptiondd64eea
lines 74–80why, one step back74 "@types/chai": "^4.2.11",75 "@types/mocha": "^7.0.2",76 "@types/sinon": "^9.0.4",77 "@types/sinon-chai": "^3.2.4",78 "@typescript-eslint/eslint-plugin": "^3.0.1",79 "@typescript-eslint/parser": "^3.0.1",80 "chai": "^4.2.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 81why, one step back81 "documentation": "^13.0.0",Update all dependenciesJason Millerbefore adoptiondd64eea
line 82why, one step back82 "eslint": "^7.1.0",Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 83why, one step back83 "eslint-config-developit": "^1.2.0",fix test runnerJason Millerbefore adoption80bbdbe
line 84why, one step back84 "esm": "^3.2.25",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 85why, one step back85 "microbundle": "^0.12.0",Update all dependenciesJason Millerbefore adoptiondd64eea
lines 86–90why, one step back86 "mocha": "^7.2.0",87 "npm-run-all": "^4.1.5",88 "rimraf": "^3.0.2",89 "sinon": "^9.0.2",90 "sinon-chai": "^3.5.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 91–92why, one step back91 "ts-node": "^8.10.1",92 "typescript": "^3.9.3"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 93–9493 }94}