-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.74 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.74 KB
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
{
"name": "packageName",
"description": "packageDescription",
"version": "1.1.0",
"main": "build/index.js",
"scripts": {
"init": "rimraf .validate.json && rimraf .jshintrc",
"clean": "rimraf build",
"lint": "eslint source test",
"prebuild": "npm run clean",
"build": "NODE_ENV=production webpack && npm run build:min && npm run build:doc",
"build:min": "NODE_ENV=production MINIFY=1 webpack",
"build:doc": "doctoc --github --title \"## Contents\" ./",
"start": "webpack --watch",
"test": "babel-node test/index.js",
"cov": "npm run cov:clean && npm run cov:generate",
"cov:clean": "rimraf coverage",
"cov:generate": "babel-node node_modules/.bin/isparta cover --report text --report html test/index.js",
"prepublish": "npm run build",
"validate": "npm run lint && npm run build && npm test",
"validate-dev": "npm run lint && npm run build && npm test | faucet",
"audit": "nsp package",
"deps": "npm run deps:missing && npm run deps:extra",
"deps:missing": "dependency-check package.json",
"deps:extra": "dependency-check package.json --extra --no-dev --ignore",
"precheck": "npm run validate",
"check": "npm run audit && npm run deps && npm outdated --depth 0"
},
"pre-commit": [
"lint"
],
"devDependencies": {
"babel": "^5.8.21",
"babel-eslint": "^4.0.5",
"babel-loader": "^5.3.2",
"babel-plugin-object-assign": "^1.2.1",
"blue-tape": "^0.1.10",
"dependency-check": "^2.5.0",
"doctoc": "^0.14.2",
"eslint": "^1.1.0",
"eslint-loader": "^1.0.0",
"faucet": "0.0.1",
"isparta": "^3.0.3",
"node-libs-browser": "^0.5.2",
"nsp": "^1.0.3",
"precommit-hook": "^3.0.0",
"rimraf": "^2.4.2",
"webpack": "^1.11.0"
}
}