package.json
This file
Path
package.json
109 lines · 2.7 KiB · JSON
Last changed by
2.1.0Jason Millerbefore adoption22c5dcb
History of this fileTake it
1{2 "name": "mitt",2.1.0Jason Millerbefore adoption22c5dcb
line 3why, one step back3 "version": "2.1.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",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 11why, one step back11 "typings": "index.d.ts",12 "scripts": {Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 13–15why, one step back13 "test": "npm-run-all --silent typecheck lint mocha test-types",14 "mocha": "mocha test",15 "test-types": "tsc test/test-types-compilation.ts --noEmit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 16why, one step back16 "lint": "eslint src test --ext ts --ext js",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 17why, one step back17 "typecheck": "tsc --noEmit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 18why, one step back18 "bundle": "microbundle",remove older gzip size calculationJason Millerbefore adoption34ce9a4
line 19why, one step back19 "build": "npm-run-all --silent clean -p bundle -s docs",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 20why, one step back20 "clean": "rimraf dist",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 21why, one step back21 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",2.1.0Jason Millerbefore adoption22c5dcb
line 22why, one step back22 "release": "npm run -s build -s && npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 23–2723 },24 "repository": "developit/mitt",25 "keywords": [26 "events",27 "eventemitter",Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 28why, one step back28 "emitter",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 29–3029 "pubsub"30 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 31why, one step back31 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 32–3732 "authors": [33 "Jason Miller <jason@developit.ca>"34 ],35 "license": "MIT",36 "files": [37 "src",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 38–39why, one step back38 "dist",39 "index.d.ts"40 ],Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 41–52why, one step back41 "mocha": {42 "extension": [43 "ts"44 ],45 "require": [46 "ts-node/register",47 "esm"48 ],49 "spec": [50 "test/*_test.ts"51 ]52 },53 "eslintConfig": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 54why, one step back54 "extends": [Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 55why, one step back55 "developit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 56–59why, one step back56 "plugin:@typescript-eslint/eslint-recommended",57 "plugin:@typescript-eslint/recommended"58 ],59 "parser": "@typescript-eslint/parser",update depsJason Millerbefore adoptiondbd661a
lines 60–62why, one step back60 "parserOptions": {61 "sourceType": "module"62 },Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 63–6563 "env": {64 "browser": true,65 "mocha": true,Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 66why, one step back66 "jest": false,Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 67–7067 "es6": true68 },69 "globals": {70 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 71–72why, one step back71 },72 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 73–75why, one step back73 "semi": [74 2,75 "always"Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 76why, one step back76 ],Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 77why, one step back77 "jest/valid-expect": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 78–79why, one step back78 "@typescript-eslint/no-explicit-any": 0,79 "@typescript-eslint/explicit-function-return-type": 0,Update all dependenciesJason Millerbefore adoptiondd64eea
line 80why, one step back80 "@typescript-eslint/explicit-module-boundary-types": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 81why, one step back81 "@typescript-eslint/no-empty-function": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 82–8382 }83 },Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 84why, one step back84 "eslintIgnore": [Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 85–86why, one step back85 "dist",86 "index.d.ts"Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 87why, one step back87 ],88 "devDependencies": {Update all dependenciesJason Millerbefore adoptiondd64eea
lines 89–95why, one step back89 "@types/chai": "^4.2.11",90 "@types/mocha": "^7.0.2",91 "@types/sinon": "^9.0.4",92 "@types/sinon-chai": "^3.2.4",93 "@typescript-eslint/eslint-plugin": "^3.0.1",94 "@typescript-eslint/parser": "^3.0.1",95 "chai": "^4.2.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 96why, one step back96 "documentation": "^13.0.0",Update all dependenciesJason Millerbefore adoptiondd64eea
line 97why, one step back97 "eslint": "^7.1.0",Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 98why, one step back98 "eslint-config-developit": "^1.2.0",fix test runnerJason Millerbefore adoption80bbdbe
line 99why, one step back99 "esm": "^3.2.25",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 100–101why, one step back100 "microbundle": "^0.12.3",101 "mocha": "^8.0.1",Update all dependenciesJason Millerbefore adoptiondd64eea
lines 102–105why, one step back102 "npm-run-all": "^4.1.5",103 "rimraf": "^3.0.2",104 "sinon": "^9.0.2",105 "sinon-chai": "^3.5.0",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 106why, one step back106 "ts-node": "^8.10.2",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 107why, one step back107 "typescript": "^3.9.3"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 108–109108 }109}