package.json
This file
Path
package.json
85 lines · 2.3 KiB · JSON
Last changed by
fix TypeScript configJason Millerbefore adoption3f81679
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",fix TypeScript configJason Millerbefore adoption3f81679
line 13why, one step back13 "module": "./dist/mitt.mjs",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
lines 14–17why, one step back14 "import": "./dist/mitt.mjs",15 "require": "./dist/mitt.js",16 "default": "./dist/mitt.mjs"17 },18 "scripts": {Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 19–20why, one step back19 "test": "npm-run-all --silent typecheck lint mocha test-types",20 "mocha": "mocha test",Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
line 21why, one step back21 "test-types": "tsc test/test-types-compilation.ts --noEmit --strict",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 22why, one step back22 "lint": "eslint src test --ext ts --ext js",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 23why, one step back23 "typecheck": "tsc --noEmit",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 24why, one step back24 "bundle": "microbundle -f es,cjs,umd",remove older gzip size calculationJason Millerbefore adoption34ce9a4
line 25why, one step back25 "build": "npm-run-all --silent clean -p bundle -s docs",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 26why, one step back26 "clean": "rimraf dist",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 27why, one step back27 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",2.1.0Jason Millerbefore adoption22c5dcb
line 28why, one step back28 "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 29–3329 },30 "repository": "developit/mitt",31 "keywords": [32 "events",33 "eventemitter",Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 34why, one step back34 "emitter",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 35–3635 "pubsub"36 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 37why, one step back37 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 38–4238 "authors": [39 "Jason Miller <jason@developit.ca>"40 ],41 "license": "MIT",42 "files": [Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 43–44why, one step back43 "dist",44 "index.d.ts"45 ],Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 46–57why, one step back46 "mocha": {47 "extension": [48 "ts"49 ],50 "require": [51 "ts-node/register",52 "esm"53 ],54 "spec": [55 "test/*_test.ts"56 ]57 },move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a
lines 58–60why, one step back58 "prettier": {59 "singleQuote": true,60 "trailingComma": "none"fix TypeScript configJason Millerbefore adoption3f81679
line 61why, one step back61 },62 "devDependencies": {Update all dependenciesJason Millerbefore adoptiondd64eea
lines 63–66why, one step back63 "@types/chai": "^4.2.11",64 "@types/mocha": "^7.0.2",65 "@types/sinon": "^9.0.4",66 "@types/sinon-chai": "^3.2.4",move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a
lines 67–68why, one step back67 "@typescript-eslint/eslint-plugin": "^5.61.0",68 "@typescript-eslint/parser": "^5.61.0",Update all dependenciesJason Millerbefore adoptiondd64eea
line 69why, one step back69 "chai": "^4.2.0",update depsJason Millerbefore adoption5a17bef
line 70why, one step back70 "documentation": "^14.0.2",move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a
line 71why, one step back71 "eslint": "^7.32.0",Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 72why, one step back72 "eslint-config-developit": "^1.2.0",move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a
line 73why, one step back73 "eslint-plugin-compat": "^4.1.4",fix test runnerJason Millerbefore adoption80bbdbe
line 74why, one step back74 "esm": "^3.2.25",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 75–76why, one step back75 "microbundle": "^0.12.3",76 "mocha": "^8.0.1",Update all dependenciesJason Millerbefore adoptiondd64eea
line 77why, one step back77 "npm-run-all": "^4.1.5",move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a
line 78why, one step back78 "prettier": "^2.8.8",Update all dependenciesJason Millerbefore adoptiondd64eea
lines 79–81why, one step back79 "rimraf": "^3.0.2",80 "sinon": "^9.0.2",81 "sinon-chai": "^3.5.0",update depsJason Millerbefore adoption5a17bef
line 82why, one step back82 "ts-node": "^10.9.1",fix TypeScript configJason Millerbefore adoption3f81679
line 83why, one step back83 "typescript": "^4.9.5"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 84–8584 }85}