-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
87 lines (87 loc) · 2.41 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
{
"name": "by-node-env",
"version": "2.0.1",
"description": "Run package.json scripts by NODE_ENV.",
"keywords": [
"cross-per-env",
"development",
"dotenv",
"env",
"if-env",
"node",
"node-env",
"npm",
"nps",
"nps-utils",
"package-json",
"per-env",
"pnpm",
"production",
"run",
"run-script",
"scripts",
"test",
"yarn",
"yo-env"
],
"homepage": "https://github.com/shian15810/by-node-env#readme",
"bugs": "https://github.com/shian15810/by-node-env/issues",
"license": "MIT",
"author": "Chuah Chee Shian <shian15810@gmail.com>",
"files": [
"dist/index.*"
],
"main": "dist/index.js",
"bin": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"source": "src/index.ts",
"umd:main": "dist/index.umd.js",
"repository": "https://github.com/shian15810/by-node-env.git",
"scripts": {
"build": "rimraf dist && microbundle build --strict --target node --tsconfig tsconfig.build.json",
"format": "prettier --write \"**/*\"",
"prepublishOnly": "npm-run-all build",
"pretest": "ts-node tests",
"test": "ts-node tests && ts-node --files src && cross-env NODE_ENV=development ts-node --files src && cross-env NODE_ENV=production ts-node --files src && cross-env NODE_ENV=test ts-node --files src",
"posttest": "ts-node tests",
"pretest:development": "ts-node tests",
"test:development": "ts-node tests",
"posttest:development": "ts-node tests",
"pretest:production": "ts-node tests",
"test:production": "ts-node tests",
"posttest:production": "ts-node tests",
"pretest:test": "ts-node tests",
"test:test": "ts-node tests",
"posttest:test": "ts-node tests"
},
"dependencies": {
"commander": "^2.20.0",
"commander-remaining-args": "^1.2.0",
"dotenv": "^8.0.0",
"execa": "^2.0.3",
"preferred-pm": "^2.0.0",
"read-pkg-up": "^6.0.0",
"which-pm-runs": "^1.0.0"
},
"devDependencies": {
"@types/commander-remaining-args": "^1.2.0",
"@types/dotenv": "^6.1.1",
"@types/node": "^12.6.8",
"@types/nopt": "^3.0.29",
"cross-env": "^5.2.0",
"husky": "^3.0.2",
"microbundle": "^0.11.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"rimraf": "^2.6.3",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}