mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 13:58:08 +00:00
add npm run script
This commit is contained in:
parent
2fe86fbb21
commit
83fad3e750
2 changed files with 1416 additions and 0 deletions
1372
npm-run-script/package-lock.json
generated
Normal file
1372
npm-run-script/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
44
npm-run-script/package.json
Normal file
44
npm-run-script/package.json
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"scripts": {
|
||||
"pretest": ": compile and lint",
|
||||
"test": "npm run",
|
||||
"test:a": "npm run build:a",
|
||||
"start": "echo start",
|
||||
"restart": "echo restart",
|
||||
"stop": "echo stop",
|
||||
"build": "run-s build:{a,b}",
|
||||
"build:b": "echo 1",
|
||||
"build:a": "echo 2",
|
||||
"build:bx": "echo 3",
|
||||
"build:ay": "echo 4",
|
||||
"echo": "echo",
|
||||
"env": "env | grep ^npm_",
|
||||
"var": "set | grep ^npm_",
|
||||
"var:array": "echo \"$npm_package_config_array\"",
|
||||
"hoge": "echo hoge",
|
||||
"#hoge": ": this command is hoge.",
|
||||
"fuga": "echo $npm_package_config_fuga",
|
||||
"#fuga": ": this command is fuga."
|
||||
},
|
||||
"devDependencies": {
|
||||
"npm-run-all": "^4.1.5"
|
||||
},
|
||||
"config": {
|
||||
"fuga": "fuga",
|
||||
"a_b_c1": "1",
|
||||
"a": {
|
||||
"b_c2": "2",
|
||||
"b": {
|
||||
"c3": "3"
|
||||
}
|
||||
},
|
||||
"null": null,
|
||||
"array": [
|
||||
1,
|
||||
2,
|
||||
"hoge"
|
||||
],
|
||||
"number": 1,
|
||||
"boolean": true
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue