-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
52 lines (52 loc) · 1.23 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
{
"name": "@antv/event-emitter",
"version": "0.1.3",
"description": "event emitter for antvis.",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"files": [
"src",
"lib",
"esm",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git@github.com:antvis/event-emitter.git"
},
"scripts": {
"build": "run-s clean lib",
"clean": "rimraf lib esm",
"lib": "run-p lib:*",
"lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^24.0.18",
"jest": "^24.9.0",
"jest-electron": "^0.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.2",
"rimraf": "^2.6.2",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
},
"jest": {
"preset": "ts-jest",
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!**/node_modules/**"
],
"testRegex": "/__tests__/.*spec\\.ts$"
}
}