forked from bahmutov/start-server-and-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 3.95 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "start-server-and-test",
"description": "Starts server, waits for URL, then runs test command; when the tests end, shuts down server",
"version": "0.0.0-development",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"bugs": "https://github.com/bahmutov/start-server-and-test/issues",
"bin": {
"start-server-and-test": "bin/start.js",
"server-test": "bin/start.js",
"start-test": "bin/start.js"
},
"config": {
"pre-git": {
"commit-msg": "simple",
"pre-commit": [
"npm run deps",
"npm test",
"npm run ban"
],
"pre-push": [
"npm run unused-deps",
"npm run secure",
"npm run license",
"npm run ban -- --all",
"npm run size"
],
"post-commit": [],
"post-merge": []
}
},
"engines": {
"node": ">=6"
},
"files": [
"bin/*.js",
"src/*.js",
"!src/*-spec.js"
],
"homepage": "https://github.com/bahmutov/start-server-and-test#readme",
"keywords": [
"ci",
"parallel",
"server",
"start",
"test",
"utility",
"wait"
],
"license": "MIT",
"main": "src/",
"private": false,
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/bahmutov/start-server-and-test.git"
},
"scripts": {
"ban": "ban",
"deps": "deps-ok && dependency-check --no-dev .",
"issues": "git-issues",
"license": "license-checker --production --onlyunknown --csv",
"lint": "standard --verbose --fix src/*.js bin/*.js",
"prelint": "npm run pretty",
"pretest": "npm run lint",
"pretty": "prettier-standard 'src/*.js' 'bin/*.js'",
"secure": "nsp check",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"test": "npm run unit",
"unit": "mocha src/*-spec.js",
"unused-deps": "dependency-check --unused --no-dev .",
"semantic-release": "semantic-release",
"start": "node test/server.js",
"start-with-child": "node test/server-as-child.js",
"start-multiple": "node test/multiple-servers.js",
"start-https": "node test/https-server.js",
"start-fail": "node test/server-fail.js",
"start-cross-env": "cross-env FOO=bar node test/server.js",
"test2": "curl http://127.0.0.1:9000",
"test3": "curl http://127.0.0.1:9000 && curl http://127.0.0.1:9001",
"test4": "curl --insecure https://127.0.0.1:9000",
"demo": "node bin/start.js http://127.0.0.1:9000",
"demo2": "node bin/start.js start http://127.0.0.1:9000 test2",
"demo3": "node bin/start.js start-with-child http://127.0.0.1:9000 test",
"demo4": "node bin/start.js 9000",
"demo5": "node bin/start.js start-with-child 9000",
"demo6": "node bin/start.js :9000",
"demo7": "node bin/start.js :9000 test2",
"demo8": "node bin/start.js start-multiple \":9000|:9001\" test3",
"demo9": "node bin/start.js start-https \"https://127.0.0.1:9000\" test4",
"demo10": "node bin/start.js start-fail http://127.0.0.1:9000 test",
"demo-cross-env": "node bin/start.js start-cross-env 9000",
"travis-deploy-once": "travis-deploy-once"
},
"devDependencies": {
"ban-sensitive-files": "1.9.2",
"cross-env": "5.2.0",
"dependency-check": "3.2.1",
"deps-ok": "1.4.1",
"dont-crack": "1.2.1",
"git-issues": "1.3.1",
"license-checker": "24.0.1",
"mocha": "5.2.0",
"nsp": "3.2.1",
"pre-git": "3.17.1",
"prettier-standard": "8.0.1",
"semantic-release": "15.12.2",
"simple-commit-message": "4.0.3",
"standard": "11.0.1",
"travis-deploy-once": "5.0.9"
},
"dependencies": {
"bluebird": "3.5.3",
"check-more-types": "2.24.0",
"debug": "3.2.6",
"execa": "0.11.0",
"lazy-ass": "1.6.0",
"ps-tree": "1.2.0",
"wait-on": "3.2.0"
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "break",
"release": "major"
}
]
}
}
}