package.json
This file
Path
package.json
87 lines · 2.4 KiB · JSON
Last changed by
Use eslint-config-developitJason Millerbefore adoption59cc3d1
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
line 38why, one step back38 "extends": [Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 39why, one step back39 "developit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 40–43why, one step back40 "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–61why, one step back59 ],60 "@typescript-eslint/no-explicit-any": 0,61 "@typescript-eslint/explicit-function-return-type": 0,Update all dependenciesJason Millerbefore adoptiondd64eea
line 62why, one step back62 "@typescript-eslint/explicit-module-boundary-types": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 63why, one step back63 "@typescript-eslint/no-empty-function": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 64–6664 }65 },66 "devDependencies": {Update all dependenciesJason Millerbefore adoptiondd64eea
lines 67–73why, one step back67 "@types/chai": "^4.2.11",68 "@types/mocha": "^7.0.2",69 "@types/sinon": "^9.0.4",70 "@types/sinon-chai": "^3.2.4",71 "@typescript-eslint/eslint-plugin": "^3.0.1",72 "@typescript-eslint/parser": "^3.0.1",73 "chai": "^4.2.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 74why, one step back74 "documentation": "^13.0.0",Update all dependenciesJason Millerbefore adoptiondd64eea
line 75why, one step back75 "eslint": "^7.1.0",Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 76why, one step back76 "eslint-config-developit": "^1.2.0",fix test runnerJason Millerbefore adoption80bbdbe
line 77why, one step back77 "esm": "^3.2.25",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 78why, one step back78 "microbundle": "^0.12.0",Update all dependenciesJason Millerbefore adoptiondd64eea
lines 79–83why, one step back79 "mocha": "^7.2.0",80 "npm-run-all": "^4.1.5",81 "rimraf": "^3.0.2",82 "sinon": "^9.0.2",83 "sinon-chai": "^3.5.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 84–85why, one step back84 "ts-node": "^8.10.1",85 "typescript": "^3.9.3"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 86–8786 }87}