package.json
This file
Path
package.json
83 lines · 2.5 KiB · JSON
Last changed by
Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
History of this fileTake it
1{2 "name": "mitt",1.1.0Jason Millerbefore adoptionf147246
line 3why, one step back3 "version": "1.1.0",Update docs.Jason Millerbefore adoption07f8819
line 4why, one step back4 "description": "Tiny 200b functional Event Emitter / pubsub.",5 "jsnext:main": "src/index.js",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 6why, one step back6 "module": "dist/mitt.es.js",7 "main": "dist/mitt.js",8 "umd:main": "dist/mitt.umd.js",9 "scripts": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 10–13why, one step back10 "bump": "standard-version",11 "testonly": "mocha --compilers js:babel-register test/**/*.js",12 "lint": "eslint src test",13 "test": "flow && npm run lint && npm run testonly",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
lines 14–16why, one step back14 "build": "npm-run-all clean -p rollup -p minify:* -s docs size",15 "clean": "rimraf dist",16 "rollup": "rollup -c",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 17–2017 "minify:cjs": "uglifyjs $npm_package_main -cm toplevel -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map",18 "minify:umd": "uglifyjs $npm_package_umd_main -cm -o $npm_package_umd_main -p relative --in-source-map ${npm_package_umd_main}.map --source-map ${npm_package_umd_main}.map",19 "docs": "documentation readme src/index.js --section API -q",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",Typescript definitions (#25)Severinbefore adoptiond63b350
lines 36–37why, one step back36 "dist",37 "mitt.d.ts"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 38–4838 ],39 "eslintConfig": {40 "parser": "babel-eslint",41 "extends": "eslint:recommended",42 "env": {43 "browser": true,44 "mocha": true,45 "es6": true46 },47 "globals": {48 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 49–50why, one step back49 },50 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 51–54why, one step back51 "semi": [52 2,53 "always"54 ]Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 55–5655 }56 },Typescript definitions (#25)Severinbefore adoptiond63b350
line 57why, one step back57 "typings": "./mitt.d.ts",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 58–6058 "devDependencies": {59 "babel-core": "^6.9.1",60 "babel-eslint": "^7.1.1",Add Flow type annotations (#23)Brandon Dailbefore adoption377d6f4
line 61why, one step back61 "babel-plugin-transform-flow-strip-types": "^6.21.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 62–6762 "babel-preset-es2015": "^6.9.0",63 "babel-preset-stage-0": "^6.5.0",64 "babel-register": "^6.9.0",65 "chai": "^3.5.0",66 "documentation": "^4.0.0-beta4",67 "eslint": "^3.13.1",Add Flow type annotations (#23)Brandon Dailbefore adoption377d6f4
line 68why, one step back68 "flow-bin": "^0.38.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 69–7169 "gzip-size-cli": "^1.0.0",70 "mocha": "^3.2.0",71 "npm-run-all": "^2.1.1",Merge pull request #7 from svincent/pretty-bytesJason Millerbefore adoption8058961
line 72why, one step back72 "pretty-bytes-cli": "^2.0.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 73–7573 "rimraf": "^2.5.2",74 "rollup": "^0.41.4",75 "rollup-plugin-buble": "^0.15.0",Add Flow type annotations (#23)Brandon Dailbefore adoption377d6f4
line 76why, one step back76 "rollup-plugin-flow": "^1.1.1",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 77–7877 "sinon": "^1.17.4",78 "sinon-chai": "^2.8.0",Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
line 79why, one step back79 "standard-version": "^4.0.0",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 80–8380 "strip-json-comments-cli": "^1.0.1",81 "uglify-js": "^2.6.2"82 }83}