Skip to content
Myr

package.json

This file

Path

package.json

85 lines · 2.3 KiB · JSON

Last changed by

fix TypeScript configJason Millerbefore adoption3f81679

History of this file

Take it

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 1–2
1{
2 "name": "mitt",

3.0.0Jason Millerbefore adoption13905bd

line 3why, one step back
3 "version": "3.0.0",

Update docs.Jason Millerbefore adoption07f8819

line 4why, one step back
4 "description": "Tiny 200b functional Event Emitter / pubsub.",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 5why, one step back
5 "module": "dist/mitt.mjs",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 6
6 "main": "dist/mitt.js",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 7why, one step back
7 "jsnext:main": "dist/mitt.mjs",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 8
8 "umd:main": "dist/mitt.umd.js",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 9why, one step back
9 "source": "src/index.ts",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

line 10why, one step back
10 "typings": "index.d.ts",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 11why, one step back
11 "exports": {

Update package.json (#167)Mr.Hopebefore adoption1194efb

line 12why, one step back
12 "types": "./index.d.ts",

fix TypeScript configJason Millerbefore adoption3f81679

line 13why, one step back
13 "module": "./dist/mitt.mjs",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

lines 14–17why, one step back
14 "import": "./dist/mitt.mjs",
15 "require": "./dist/mitt.js",16 "default": "./dist/mitt.mjs"17 },

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 18
18 "scripts": {

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 19–20why, one step back
19 "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 back
21 "test-types": "tsc test/test-types-compilation.ts --noEmit --strict",

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 22why, one step back
22 "lint": "eslint src test --ext ts --ext js",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

line 23why, one step back
23 "typecheck": "tsc --noEmit",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

line 24why, one step back
24 "bundle": "microbundle -f es,cjs,umd",

remove older gzip size calculationJason Millerbefore adoption34ce9a4

line 25why, one step back
25 "build": "npm-run-all --silent clean -p bundle -s docs",

Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea

line 26why, one step back
26 "clean": "rimraf dist",

Migrate to TypeScript and use Map (#99)Jack Franklinbefore adoptionbe5237f

line 27why, one step back
27 "docs": "documentation readme src/index.ts --section API -q --parse-extension ts",

2.1.0Jason Millerbefore adoption22c5dcb

line 28why, one step back
28 "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–33
29 },
30 "repository": "developit/mitt",31 "keywords": [32 "events",33 "eventemitter",

Export Mitt types for TS consumers (#101)Jack Franklinbefore adoptioneb2be7c

line 34why, one step back
34 "emitter",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 35–36
35 "pubsub"
36 ],

Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1

line 37why, one step back
37 "homepage": "https://github.com/developit/mitt",

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 38–42
38 "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 back
43 "dist",
44 "index.d.ts"

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 45
45 ],

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 46–57why, one step back
46 "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 back
58 "prettier": {
59 "singleQuote": true,60 "trailingComma": "none"

fix TypeScript configJason Millerbefore adoption3f81679

line 61why, one step back
61 },

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 62
62 "devDependencies": {

Update all dependenciesJason Millerbefore adoptiondd64eea

lines 63–66why, one step back
63 "@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 back
67 "@typescript-eslint/eslint-plugin": "^5.61.0",
68 "@typescript-eslint/parser": "^5.61.0",

Update all dependenciesJason Millerbefore adoptiondd64eea

line 69why, one step back
69 "chai": "^4.2.0",

update depsJason Millerbefore adoption5a17bef

line 70why, one step back
70 "documentation": "^14.0.2",

move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a

line 71why, one step back
71 "eslint": "^7.32.0",

Use eslint-config-developitJason Millerbefore adoption59cc3d1

line 72why, one step back
72 "eslint-config-developit": "^1.2.0",

move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a

line 73why, one step back
73 "eslint-plugin-compat": "^4.1.4",

fix test runnerJason Millerbefore adoption80bbdbe

line 74why, one step back
74 "esm": "^3.2.25",

Add generic types and update tests (#107)Jack Franklinbefore adoption5116df4

lines 75–76why, one step back
75 "microbundle": "^0.12.3",
76 "mocha": "^8.0.1",

Update all dependenciesJason Millerbefore adoptiondd64eea

line 77why, one step back
77 "npm-run-all": "^4.1.5",

move eslint config out of package.json and add prettierJason Millerbefore adoptionbbba04a

line 78why, one step back
78 "prettier": "^2.8.8",

Update all dependenciesJason Millerbefore adoptiondd64eea

lines 79–81why, one step back
79 "rimraf": "^3.0.2",
80 "sinon": "^9.0.2",81 "sinon-chai": "^3.5.0",

update depsJason Millerbefore adoption5a17bef

line 82why, one step back
82 "ts-node": "^10.9.1",

fix TypeScript configJason Millerbefore adoption3f81679

line 83why, one step back
83 "typescript": "^4.9.5"

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 84–85
84 }
85}