-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 2.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "eventti",
"version": "4.0.2",
"description": "A predictable event emitter for pragmatists, written in TypeScript.",
"keywords": [
"event",
"events",
"emit",
"emitter",
"eventemitter",
"pubsub"
],
"license": "MIT",
"author": {
"name": "Niklas Rämö",
"email": "[email protected]",
"url": "https://github.com/niklasramo"
},
"repository": {
"type": "git",
"url": "[email protected]:niklasramo/eventti.git"
},
"type": "module",
"source": "./src/index.ts",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"src",
"dist",
"package.json",
"README.md",
"LICENSE.md"
],
"scripts": {
"test": "npm run lint && npm run test-node && npm run test-browser",
"test-browser": "karma start karma.conf.cjs",
"test-node": "mocha tests/dist/index.js",
"test-size": "size-limit",
"build": "npm run ts-check && npm run format && npm run build-lib && npm run build-tests",
"build-lib": "rimraf ./dist && tsup --config ./tsup.config.lib.ts",
"build-tests": "rimraf ./tests/dist && tsup --config ./tsup.config.tests.ts",
"ts-check": "tsc --noEmit",
"prettier-write": "prettier --write --no-error-on-unmatched-pattern \"./**/*\"",
"prettier-check": "prettier --check --no-error-on-unmatched-pattern \"./**/*\"",
"lint": "npm run prettier-check && npm run ts-check",
"format": "npm run prettier-write",
"benchmark": "npm ci --prefix benchmarks && npm run test --prefix benchmarks"
},
"devDependencies": {
"@size-limit/preset-small-lib": "11.1.6",
"@types/chai": "5.0.1",
"@types/mocha": "10.0.10",
"chai": "5.1.2",
"dotenv": "16.4.7",
"karma": "6.4.4",
"karma-browserstack-launcher": "1.6.0",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"mocha": "11.1.0",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"size-limit": "11.1.6",
"tsup": "8.3.5",
"typescript": "5.7.3"
}
}