/
package.json
101 lines (101 loc) 路 2.56 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "weak-merge",
"version": "0.0.2",
"author": {
"name": "Tomer Aberbach",
"email": "tomeraberbach@gmail.com",
"url": "https://tomeraberba.ch"
},
"description": "A module for merging WeakSets and WeakMaps.",
"keywords": [
"weakset",
"weak-set",
"weakmap",
"weak-map",
"merge"
],
"homepage": "https://github.com/TomerAberbach/weak-merge",
"repository": "TomerAberbach/weak-merge",
"bugs": {
"url": "https://github.com/TomerAberbach/weak-merge/issues"
},
"license": "Apache-2.0",
"files": [
"src"
],
"type": "module",
"engines": {
"node": ">= 12.17"
},
"browserslist": [
"defaults",
"not IE 11",
"not op_mini all"
],
"exports": "./src/index.js",
"module": "./src/index.js",
"types": "./src/index.d.ts",
"scripts": {
"license": "addlicense $(git diff --name-only HEAD)",
"prepare": "pnpx --no-install simple-git-hooks",
"lint:prettier:base": "prettier --loglevel silent --ignore-path .gitignore",
"lint:prettier": "run-s \"lint:prettier:base -- --write .\"",
"lint:eslint:base": "eslint --cache --ext js --ignore-path .gitignore",
"lint:eslint": "run-s \"lint:eslint:base -- --fix .\"",
"lint": "run-s lint:*",
"test:js": "ava -T 20s",
"test:ts": "tsd",
"test": "run-s test:*",
"coverage": "c8 run-s test:js"
},
"prettier": "@tomer/prettier-config",
"eslintConfig": {
"extends": "@tomer"
},
"lint-staged": {
"*.js": [
"addlicense",
"run-s \"lint:prettier:base -- --write {@}\" --",
"run-s \"lint:eslint:base -- --fix {@}\" --"
],
"*.ts": [
"addlicense",
"run-s \"lint:prettier:base -- --write {@}\" --"
],
"*.{json,yml,md}": [
"addlicense",
"run-s \"lint:prettier:base -- --write {@}\" --"
]
},
"tsd": {
"directory": "./test"
},
"commitlint": {
"extends": "@commitlint/config-conventional"
},
"simple-git-hooks": {
"pre-commit": "pnpx --no-install lint-staged",
"commit-msg": "pnpx --no-install commitlint -e"
},
"dependencies": {
"is-weakmap": "2.0.1",
"is-weakset": "2.0.1"
},
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@tomer/eslint-config": "0.1.1",
"@tomer/prettier-config": "0.1.0",
"ava": "3.15.0",
"ava-fast-check": "4.0.2",
"c8": "7.7.3",
"eslint": "7.29.0",
"fast-check": "2.17.0",
"lint-staged": "11.0.0",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",
"simple-git-hooks": "2.5.1",
"tsd": "0.17.0",
"typescript": "4.3.4"
}
}