package.json
This file
Path
package.json
86 lines · 2.4 KiB · JSON
Last changed by
Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
History of this fileTake it
1{2 "name": "mitt",1.2.0Jason Millerbefore adoptiona4e20b1
line 3why, one step back3 "version": "1.2.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",8 "main": "dist/mitt.js",9 "umd:main": "dist/mitt.umd.js",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 10why, one step back10 "typings": "dist/index.d.ts",11 "scripts": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
line 12why, one step back12 "bump": "standard-version",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 13–17why, 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",17 "build": "npm-run-all --silent clean -p bundle -s docs size",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",20 "size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size | pretty-bytes)\"",Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
line 21why, one step back21 "release": "npm run build -s && npm run bump && git push --follow-tags origin master && npm publish"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 22–2822 },23 "repository": "developit/mitt",24 "keywords": [25 "events",26 "eventemitter",27 "pubsub"28 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 29why, one step back29 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 30–3530 "authors": [31 "Jason Miller <jason@developit.ca>"32 ],33 "license": "MIT",34 "files": [35 "src",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 36why, one step back36 "dist"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 37–3837 ],38 "eslintConfig": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 39–44why, one step back39 "extends": [40 "eslint:recommended",41 "plugin:@typescript-eslint/eslint-recommended",42 "plugin:@typescript-eslint/recommended"43 ],44 "parser": "@typescript-eslint/parser",update depsJason Millerbefore adoptiondbd661a
lines 45–47why, one step back45 "parserOptions": {46 "sourceType": "module"47 },Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 48–5448 "env": {49 "browser": true,50 "mocha": true,51 "es6": true52 },53 "globals": {54 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 55–56why, one step back55 },56 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 57–59why, one step back57 "semi": [58 2,59 "always"Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 60–63why, one step back60 ],61 "@typescript-eslint/no-explicit-any": 0,62 "@typescript-eslint/explicit-function-return-type": 0,63 "@typescript-eslint/no-empty-function": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 64–6664 }65 },66 "devDependencies": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 67–68why, one step back67 "@typescript-eslint/eslint-plugin": "^2.34.0",68 "@typescript-eslint/parser": "^2.34.0",69 "chai": "^3.5.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 70why, one step back70 "documentation": "^13.0.0",update depsJason Millerbefore adoptiondbd661a
line 71why, one step back71 "eslint": "^6.5.1",fix test runnerJason Millerbefore adoption80bbdbe
line 72why, one step back72 "esm": "^3.2.25",73 "gzip-size-cli": "^1.0.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 74why, one step back74 "microbundle": "^0.12.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 75–7675 "mocha": "^3.2.0",76 "npm-run-all": "^2.1.1",Merge pull request #7 from svincent/pretty-bytesJason Millerbefore adoption8058961
line 77why, one step back77 "pretty-bytes-cli": "^2.0.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 78–8078 "rimraf": "^2.5.2",79 "sinon": "^1.17.4",80 "sinon-chai": "^2.8.0",Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
line 81why, one step back81 "standard-version": "^4.0.0",82 "strip-json-comments-cli": "^1.0.1",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 83–84why, one step back83 "ts-node": "^8.10.1",84 "typescript": "^3.9.3"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 85–8685 }86}