/
package.json
48 lines (48 loc) · 1.58 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
{
"name": "3d-adjacency",
"version": "0.0.2",
"description": "find clusters of adjacent cells from a 3d array.",
"main": "src/index.js",
"directories": {
"test": "test"
},
"dependencies": {},
"devDependencies": {
"biff-city": "^1.0.3",
"coveralls": "^2.13.2",
"gh-pages": "^1.0.0",
"husky": "^0.13.3",
"jsdoc": "^3.4.0",
"minami": "^1.1.1",
"npm-run-all": "^4.0.2",
"nyc": "^10.1.2",
"shizam": "0.0.12",
"standard": "^10.0.0",
"standard-format": "^2.2.1",
"tape": "^4.5.1"
},
"scripts": {
"lint": "standard \"src/**/*.js\" \"test/**/*.js\"",
"lintfix": "standard-format -w",
"validate": "npm ls",
"preversion": "git checkout master && git pull && npm ls",
"docs": "mkdir -p docs && jsdoc -c .jsdoc.json src/",
"deploy-docs": "gh-pages -d docs && rm -rf docs",
"postpublish": "npm run docs && npm run deploy-docs",
"publish-patch": "npm run preversion && npm version patch && git push origin master --tags && npm publish",
"publish-minor": "npm run preversion && npm version minor && git push origin master --tags && npm publish",
"publish-major": "npm run preversion && npm version major && git push origin master --tags && npm publish",
"test": "nyc --reporter=lcov --check-coverage --functions=90 --branches=90 node test/",
"docs:build": "mkdir -p docs && jsdoc -c .jsdoc.json src/",
"docs:clean": "rm -rf docs",
"docs:deploy": "gh-pages -d docs",
"precommit": "run-s lint"
},
"author": "cdaringe",
"license": "MIT",
"pre-commit": [
"validate",
"lint",
"test"
]
}