forked from cdaringe/nice-try-train
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
21 lines (21 loc) · 948 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "nice-try-train",
"version": "1.2.1",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"chokidar-cli": "^1.2.0",
"nodemon": "^1.14.12",
"npm-run-all": "^4.1.2"
},
"scripts": {
"clean:install": "rm -rf ~/Library/Application\\ Support/factorio/mods/nice-try-train_1.1.0/",
"copy:install": "rsync -r --exclude node_modules $PWD/ ~/Library/Application\\ Support/factorio/mods/nice-try-train_1.1.0/",
"deploy": "run-s clean:install copy:install",
"watch": "chokidar '**/*.lua' '**/*.json' -c 'npm run deploy'",
"prerelease": "rm -rf build && mkdir build",
"rel:bundle": "VERSION=$(cat package.json | jq -r .version) && RELEASE=nice-try-train_$VERSION && rm -rf $RELEASE && mkdir -p $RELEASE && cp control.lua info.json $RELEASE && rm -rf build && mkdir -p build && zip -r build/$RELEASE.zip $RELEASE && rm -rf $RELEASE",
"release": "run-s rel:bundle"
},
"dependencies": {}
}