Skip to content
Myr

package.json

This file

Path

package.json

84 lines · 2.2 KiB · JSON

Last changed by

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

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",

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

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

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 17
17 "scripts": {

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

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

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

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

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

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

Add Package Exports configuration (#139)Jason Millerbefore adoptionf3990ec

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

remove older gzip size calculationJason Millerbefore adoption34ce9a4

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

Cleanup Build Chain (#48)Luke Edwardsbefore adoptiona51bcea

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

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

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

2.1.0Jason Millerbefore adoption22c5dcb

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

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

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

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 34–35
34 "pubsub"
35 ],

Merge branch 'master' into refactorCharlike Mike Reagentbefore adoption70e8ad1

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

Initial commit! 🚀Jason Millerbefore adoptione77a42c

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

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 44
44 ],

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

lines 45–56why, one step back
45 "mocha": {
46 "extension": [47 "ts"48 ],49 "require": [50 "ts-node/register",51 "esm"52 ],53 "spec": [54 "test/*_test.ts"55 ]56 },

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

lines 57–59why, one step back
57 "prettier": {
58 "singleQuote": true,59 "trailingComma": "none"

update depsJason Millerbefore adoptiondbd661a

line 60why, one step back
60 },

Initial commit! 🚀Jason Millerbefore adoptione77a42c

line 61
61 "devDependencies": {

Update all dependenciesJason Millerbefore adoptiondd64eea

lines 62–65why, one step back
62 "@types/chai": "^4.2.11",
63 "@types/mocha": "^7.0.2",64 "@types/sinon": "^9.0.4",65 "@types/sinon-chai": "^3.2.4",

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

lines 66–67why, one step back
66 "@typescript-eslint/eslint-plugin": "^5.61.0",
67 "@typescript-eslint/parser": "^5.61.0",

Update all dependenciesJason Millerbefore adoptiondd64eea

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

update depsJason Millerbefore adoption5a17bef

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

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

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

Use eslint-config-developitJason Millerbefore adoption59cc3d1

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

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

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

fix test runnerJason Millerbefore adoption80bbdbe

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

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

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

Update all dependenciesJason Millerbefore adoptiondd64eea

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

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

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

Update all dependenciesJason Millerbefore adoptiondd64eea

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

update depsJason Millerbefore adoption5a17bef

lines 81–82why, one step back
81 "ts-node": "^10.9.1",
82 "typescript": "^5.1.5"

Initial commit! 🚀Jason Millerbefore adoptione77a42c

lines 83–84
83 }
84}