forked from hugomrdias/iso-constants
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 1.91 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
{
"name": "iso-constants",
"version": "0.1.2",
"description": "Isomorphic node constants to be used in browsers or node.",
"repository": "hugomrdias/iso-constants",
"author": "Hugo Dias <[email protected]> (hugodias.me)",
"license": "MIT",
"main": "index.js",
"engines": {
"node": ">=10"
},
"browser": {
"./index.js": "./index.browser.js"
},
"scripts": {
"test": "nyc tape test.js | tap-spec",
"test:browser": "playwright-test --runner tape | tap-spec",
"lint": "eslint --cache *.js src/*.js",
"cov": "yarn test && nyc report --reporter=html && sirv coverage",
"cov:report": "nyc report --reporter=text-lcov > coverage.lcov",
"install": "node build.js > index.browser.js"
},
"files": [
"index.js",
"index.browser.js",
"build.js"
],
"keywords": [
"constants",
"node",
"browser"
],
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"eslint": "^4.7.0",
"eslint-config-halo": "^2.3.3",
"husky": "^4.2.3",
"lint-staged": "^10.0.7",
"np": "^6.2.0",
"nyc": "^15.0.0",
"playwright-test": "^0.5.0",
"sirv-cli": "^0.4.2",
"tap-spec": "^5.0.0",
"tape": "^4.13.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": "halo/node"
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist",
"storybook-static",
"typings"
]
}