-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
64 lines (64 loc) · 1.71 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
{
"name": "@metamask/safe-event-emitter",
"version": "3.1.2",
"description": "An EventEmitter that isolates the emitter from errors in handlers",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"types": "dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"dist",
"!*.test.*"
],
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/safe-event-emitter.git"
},
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"prepublishOnly": "yarn build",
"build": "rimraf dist && yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --project .",
"build:esm": "tsc --project tsconfig.esm.json && yarn build:esm:rename",
"build:esm:rename": "./scripts/rename-esm.sh",
"test": "jest",
"lint": "eslint . --ext .ts,.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@metamask/auto-changelog": "^2.6.1",
"@metamask/eslint-config": "^5.0.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.21",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"jest": "^26.4.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.0",
"typescript": "^4.0.5"
},
"dependencies": {}
}