package.json
This file
Path
package.json
81 lines · 2.2 KiB · JSON
Last changed by
2.0.0Jason Millerbefore adoption4594463
History of this fileTake it
1{2 "name": "mitt",2.0.0Jason Millerbefore adoption4594463
line 3why, one step back3 "version": "2.0.0",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": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 13–16why, one step back13 "testonly": "mocha --require esm --require ts-node/register test/**/*.js",14 "lint": "eslint src test --ext ts --ext js",15 "test": "tsc src/index.ts --noEmit && npm run lint && npm run testonly",16 "bundle": "microbundle",remove older gzip size calculationJason Millerbefore adoption34ce9a4
line 17why, one step back17 "build": "npm-run-all --silent clean -p bundle -s docs",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 18why, one step back18 "clean": "rimraf dist",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 19why, one step back19 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",2.0.0Jason Millerbefore adoption4594463
line 20why, one step back20 "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 21–2721 },22 "repository": "developit/mitt",23 "keywords": [24 "events",25 "eventemitter",26 "pubsub"27 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 28why, one step back28 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 29–3429 "authors": [30 "Jason Miller <jason@developit.ca>"31 ],32 "license": "MIT",33 "files": [34 "src",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 35why, one step back35 "dist"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 36–3736 ],37 "eslintConfig": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 38–43why, one step back38 "extends": [39 "eslint:recommended",40 "plugin:@typescript-eslint/eslint-recommended",41 "plugin:@typescript-eslint/recommended"42 ],43 "parser": "@typescript-eslint/parser",update depsJason Millerbefore adoptiondbd661a
lines 44–46why, one step back44 "parserOptions": {45 "sourceType": "module"46 },Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 47–5347 "env": {48 "browser": true,49 "mocha": true,50 "es6": true51 },52 "globals": {53 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 54–55why, one step back54 },55 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 56–58why, one step back56 "semi": [57 2,58 "always"Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 59–62why, one step back59 ],60 "@typescript-eslint/no-explicit-any": 0,61 "@typescript-eslint/explicit-function-return-type": 0,62 "@typescript-eslint/no-empty-function": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 63–6563 }64 },65 "devDependencies": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 66–67why, one step back66 "@typescript-eslint/eslint-plugin": "^2.34.0",67 "@typescript-eslint/parser": "^2.34.0",68 "chai": "^3.5.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 69why, one step back69 "documentation": "^13.0.0",update depsJason Millerbefore adoptiondbd661a
line 70why, one step back70 "eslint": "^6.5.1",fix test runnerJason Millerbefore adoption80bbdbe
line 71why, one step back71 "esm": "^3.2.25",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 72why, one step back72 "microbundle": "^0.12.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 73–7773 "mocha": "^3.2.0",74 "npm-run-all": "^2.1.1",75 "rimraf": "^2.5.2",76 "sinon": "^1.17.4",77 "sinon-chai": "^2.8.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 78–79why, one step back78 "ts-node": "^8.10.1",79 "typescript": "^3.9.3"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 80–8180 }81}