-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.77 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 1.77 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "if-node-version",
"version": "1.1.1",
"description": "Run commands if on specified node version.",
"engines": {
"node": ">=0.10.0"
},
"main": "lib/index.js",
"bin": "bin/index.js",
"files": [
"bin",
"lib"
],
"scripts": {
"clean": "rimraf .nyc_output coverage",
"lint": "node bin/index.js \">=4\" eslint bin lib test",
"preversion": "npm test",
"postversion": "git push && git push --tags",
"pretest": "run-s clean lint",
"test": "nyc mocha \"test/*.js\" --timeout 30000 --compilers js:babel-register",
"coverage": "nyc report -r lcov && opener coverage/lcov-report/index.html",
"watch": "mocha \"test/*.js\" --timeout 30000 --compilers js:babel-register --watch --growl",
"codecov": "nyc report -r lcovonly && codecov"
},
"dependencies": {
"cross-spawn": "^5.0.1",
"semver": "^5.2.0"
},
"devDependencies": {
"babel-preset-power-assert": "^1.0.0",
"babel-register": "^6.9.0",
"chokidar-cli": "^1.2.0",
"codecov": "^3.7.1",
"eslint": "^3.10.0",
"eslint-config-mysticatea": "^7.0.1",
"mocha": "^3.0.2",
"npm-run-all": "^3.1.0",
"nyc": "^8.3.0",
"opener": "^1.4.1",
"pinkie-promise": "^2.0.1",
"power-assert": "^1.4.1",
"rimraf": "^2.5.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mysticatea/if-node-version.git"
},
"keywords": [
"node",
"version",
"semver",
"range",
"check",
"compare",
"conditional",
"less",
"greater",
"than",
"run",
"execute",
"command",
"cli"
],
"author": "Toru Nagashima",
"license": "MIT",
"bugs": {
"url": "https://github.com/mysticatea/if-node-version/issues"
},
"homepage": "https://github.com/mysticatea/if-node-version#readme"
}