package.json
This file
Path
package.json
113 lines · 2.9 KiB · JSON
Last changed by
Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
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.",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
lines 11–15why, one step back11 "exports": {12 "import": "./dist/mitt.mjs",13 "require": "./dist/mitt.js",14 "default": "./dist/mitt.mjs"15 },16 "scripts": {Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 17–18why, one step back17 "test": "npm-run-all --silent typecheck lint mocha test-types",18 "mocha": "mocha test",Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
line 19why, one step back19 "test-types": "tsc test/test-types-compilation.ts --noEmit --strict",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 20why, one step back20 "lint": "eslint src test --ext ts --ext js",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 21why, one step back21 "typecheck": "tsc --noEmit",Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec
line 22why, one step back22 "bundle": "microbundle -f es,cjs,umd",remove older gzip size calculationJason Millerbefore adoption34ce9a4
line 23why, one step back23 "build": "npm-run-all --silent clean -p bundle -s docs",Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea
line 24why, one step back24 "clean": "rimraf dist",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 25why, one step back25 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",2.1.0Jason Millerbefore adoption22c5dcb
line 26why, one step back26 "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 27–3127 },28 "repository": "developit/mitt",29 "keywords": [30 "events",31 "eventemitter",Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 32why, one step back32 "emitter",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 33–3433 "pubsub"34 ],Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1
line 35why, one step back35 "homepage": "https://github.com/developit/mitt",Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 36–4036 "authors": [37 "Jason Miller <jason@developit.ca>"38 ],39 "license": "MIT",40 "files": [Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 41–42why, one step back41 "dist",42 "index.d.ts"43 ],Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 44–55why, one step back44 "mocha": {45 "extension": [46 "ts"47 ],48 "require": [49 "ts-node/register",50 "esm"51 ],52 "spec": [53 "test/*_test.ts"54 ]55 },56 "eslintConfig": {Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 57why, one step back57 "extends": [Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 58why, one step back58 "developit",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 59–62why, one step back59 "plugin:@typescript-eslint/eslint-recommended",60 "plugin:@typescript-eslint/recommended"61 ],62 "parser": "@typescript-eslint/parser",update depsJason Millerbefore adoptiondbd661a
lines 63–65why, one step back63 "parserOptions": {64 "sourceType": "module"65 },Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 66–6866 "env": {67 "browser": true,68 "mocha": true,Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 69why, one step back69 "jest": false,Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 70–7370 "es6": true71 },72 "globals": {73 "expect": trueEnforce semicolonsJason Millerbefore adoptionf9c8ea3
lines 74–75why, one step back74 },75 "rules": {Add Standard Version for Semantic Releases (#43)Abhi Aiyerbefore adoptiond728e90
lines 76–78why, one step back76 "semi": [77 2,78 "always"Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 79why, one step back79 ],Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 80why, one step back80 "jest/valid-expect": 0,Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
lines 81–82why, one step back81 "@typescript-eslint/no-explicit-any": 0,82 "@typescript-eslint/explicit-function-return-type": 0,Update all dependenciesJason Millerbefore adoptiondd64eea
line 83why, one step back83 "@typescript-eslint/explicit-module-boundary-types": 0,Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
lines 84–85why, one step back84 "@typescript-eslint/no-empty-function": 0,85 "@typescript-eslint/no-non-null-assertion": 0Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 86–8786 }87 },Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 88why, one step back88 "eslintIgnore": [Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 89–90why, one step back89 "dist",90 "index.d.ts"Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c
line 91why, one step back91 ],92 "devDependencies": {Update all dependenciesJason Millerbefore adoptiondd64eea
lines 93–99why, one step back93 "@types/chai": "^4.2.11",94 "@types/mocha": "^7.0.2",95 "@types/sinon": "^9.0.4",96 "@types/sinon-chai": "^3.2.4",97 "@typescript-eslint/eslint-plugin": "^3.0.1",98 "@typescript-eslint/parser": "^3.0.1",99 "chai": "^4.2.0",Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f
line 100why, one step back100 "documentation": "^13.0.0",Update all dependenciesJason Millerbefore adoptiondd64eea
line 101why, one step back101 "eslint": "^7.1.0",Use eslint-config-developitJason Millerbefore adoption59cc3d1
line 102why, one step back102 "eslint-config-developit": "^1.2.0",fix test runnerJason Millerbefore adoption80bbdbe
line 103why, one step back103 "esm": "^3.2.25",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
lines 104–105why, one step back104 "microbundle": "^0.12.3",105 "mocha": "^8.0.1",Update all dependenciesJason Millerbefore adoptiondd64eea
lines 106–109why, one step back106 "npm-run-all": "^4.1.5",107 "rimraf": "^3.0.2",108 "sinon": "^9.0.2",109 "sinon-chai": "^3.5.0",Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4
line 110why, one step back110 "ts-node": "^8.10.2",Merge branch 'master' into patch_123Jason Millerbefore adoption53eb689
line 111why, one step back111 "typescript": "^3.9.7"Initial commit! 🚀Jason Millerbefore adoptione77a42c
lines 112–113112 }113}