package.json
This file
Path
package.json
114 lines · 2.9 KiB · JSON
Last changed by
Update package.json (#167)Mr.Hopebefore adoption1194efb
History of this fileTake it
1{2 "name": "mitt",3.0.0Jason Millerbefore adoption13905bd
line 3why, one step back3 "version": "3.0.0",Update docs.Jason Millerbefore adoption07f8819
line 4why, one step back4 "description": "Tiny 200b functional Event Emitter / pubsub.",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 5why, one step back5 "module": "dist/mitt.mjs",6 "main": "dist/mitt.js",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 7why, one step back7 "jsnext:main": "dist/mitt.mjs",8 "umd:main": "dist/mitt.umd.js",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 9why, one step back9 "source": "src/index.ts",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 10why, one step back10 "typings": "index.d.ts",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 11why, one step back11 "exports": {Update package.json (#167)Mr.Hopebefore adoption1194efb
line 12why, one step back12 "types": "./index.d.ts",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
lines 13–16why, one step back13 "import": "./dist/mitt.mjs",14 "require": "./dist/mitt.js",15 "default": "./dist/mitt.mjs"16 },17 "scripts": {Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 18–19why, one step back18 "test": "npm-run-all --silent typecheck lint mocha test-types",19 "mocha": "mocha test",Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
line 20why, one step back20 "test-types": "tsc test/test-types-compilation.ts --noEmit --strict",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 21why, one step back21 "lint": "eslint src test --ext ts --ext js",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 22why, one step back22 "typecheck": "tsc --noEmit",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 23why, one step back23 "bundle": "microbundle -f es,cjs,umd",remove older gzip size calculationJason Millerbefore adoption34ce9a4
line 24why, one step back24 "build": "npm-run-all --silent clean -p bundle -s docs",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 25why, one step back25 "clean": "rimraf dist",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 26why, one step back26 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",2.1.0Jason Millerbefore adoption22c5dcb
line 27why, one step back27 "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 28–3228 },29 "repository": "developit/mitt",30 "keywords": [31 "events",32 "eventemitter",Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 33why, one step back33 "emitter",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 34–3534 "pubsub"35 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 36why, one step back36 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 37–4137 "authors": [38 "Jason Miller <jason@developit.ca>"39 ],40 "license": "MIT",41 "files": [Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 42–43why, one step back42 "dist",43 "index.d.ts"44 ],Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 45–56why, one step back45 "mocha": {46 "extension": [47 "ts"48 ],49 "require": [50 "ts-node/register",51 "esm"52 ],53 "spec": [54 "test/*_test.ts"55 ]56 },57 "eslintConfig": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 58why, one step back58 "extends": [Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 59why, one step back59 "developit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 60–63why, one step back60 "plugin:@typescript-eslint/eslint-recommended",61 "plugin:@typescript-eslint/recommended"62 ],63 "parser": "@typescript-eslint/parser",update depsJason Millerbefore adoptiondbd661a
lines 64–66why, one step back64 "parserOptions": {65 "sourceType": "module"66 },Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 67–6967 "env": {68 "browser": true,69 "mocha": true,Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 70why, one step back70 "jest": false,Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 71–7471 "es6": true72 },73 "globals": {74 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 75–76why, one step back75 },76 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 77–79why, one step back77 "semi": [78 2,79 "always"Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 80why, one step back80 ],Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 81why, one step back81 "jest/valid-expect": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 82–83why, one step back82 "@typescript-eslint/no-explicit-any": 0,83 "@typescript-eslint/explicit-function-return-type": 0,Update all dependenciesJason Millerbefore adoptiondd64eea
line 84why, one step back84 "@typescript-eslint/explicit-module-boundary-types": 0,Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
lines 85–86why, one step back85 "@typescript-eslint/no-empty-function": 0,86 "@typescript-eslint/no-non-null-assertion": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 87–8887 }88 },Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 89why, one step back89 "eslintIgnore": [Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 90–91why, one step back90 "dist",91 "index.d.ts"Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 92why, one step back92 ],93 "devDependencies": {Update all dependenciesJason Millerbefore adoptiondd64eea
lines 94–100why, one step back94 "@types/chai": "^4.2.11",95 "@types/mocha": "^7.0.2",96 "@types/sinon": "^9.0.4",97 "@types/sinon-chai": "^3.2.4",98 "@typescript-eslint/eslint-plugin": "^3.0.1",99 "@typescript-eslint/parser": "^3.0.1",100 "chai": "^4.2.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 101why, one step back101 "documentation": "^13.0.0",Update all dependenciesJason Millerbefore adoptiondd64eea
line 102why, one step back102 "eslint": "^7.1.0",Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 103why, one step back103 "eslint-config-developit": "^1.2.0",fix test runnerJason Millerbefore adoption80bbdbe
line 104why, one step back104 "esm": "^3.2.25",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 105–106why, one step back105 "microbundle": "^0.12.3",106 "mocha": "^8.0.1",Update all dependenciesJason Millerbefore adoptiondd64eea
lines 107–110why, one step back107 "npm-run-all": "^4.1.5",108 "rimraf": "^3.0.2",109 "sinon": "^9.0.2",110 "sinon-chai": "^3.5.0",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 111why, one step back111 "ts-node": "^8.10.2",Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
line 112why, one step back112 "typescript": "^3.9.7"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 113–114113 }114}