forked from dolsup/per-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.38 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
{
"name": "@ccn/per-env",
"version": "1.1.0",
"description": "Clean up your package.json with per-NODE_ENV npm scripts",
"bin": {
"per-env": "./bin/per-env"
},
"scripts": {
"test": "NODE_ENV=development ./bin/per-env && NODE_ENV=test ./bin/per-env",
"posttest": "NODE_ENV=test npm run test:status",
"test:status": "./bin/per-env",
"test:status:test": "cat does.not.exist &> /dev/null && exit 1 || echo Status: $?",
"pretest:development": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}",
"test:development": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}",
"posttest:development": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}",
"pretest:test": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}",
"test:test": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}",
"posttest:test": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}"
},
"per-env": {
"development": {
"CUSTOM_VALUE": "dev"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericclemmons/per-env.git"
},
"keywords": [
"npm",
"run",
"NODE_ENV",
"scripts"
],
"author": "Eric Clemmons <eric@smarterspam.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ericclemmons/per-env/issues"
},
"homepage": "https://github.com/ericclemmons/per-env#readme",
"publishConfig": {
"registry": "https://npm.cleancitynetworks.com/"
}
}