-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
57 lines (57 loc) · 2.08 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
{
"name": "screeps-webpack-plugin",
"version": "1.3.0",
"description": "Compile your AI against a Screeps server",
"main": "index.js",
"scripts": {
"start": "npm run -s lint; npm run -s test",
"test": "nyc ava --verbose",
"lint": "standard | snazzy",
"container": "export NAME=${PWD##*/}; export CACHE=npm-lazy; export CACHE_URL=http://${CACHE}; docker ps -a | grep -q $CACHE && npm run -s container:cache-start || npm run -s container:cache-run; docker ps -a | grep -q $NAME && npm run -s container:app-start || npm run -s container:app-run",
"container:app-start": "docker start -ai $NAME",
"container:app-run": "docker run --name $NAME --link $CACHE -w /$NAME -v $(pwd):/$NAME -v $(pwd)/package.json:/package.json -v /root/.npm -v /node_modules -e \"NODE_PATH=/node_modules\" -e \"CHOKIDAR_USEPOLLING=1\" -e \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/node_modules/.bin\" -e \"npm_config_registry=${CACHE_URL}\" --dns 8.8.8.8 --dns 8.8.4.4 --entrypoint=/bin/bash -it node:7",
"container:cache-start": "docker start $CACHE",
"container:cache-run": "docker run --name $CACHE -d langrisha/npm-lazy --port=80 --external-url=$CACHE_URL"
},
"repository": {
"type": "git",
"url": "git+https://github.com/langri-sha/screeps-webpack-plugin.git"
},
"keywords": [
"screeps",
"plugin",
"webpack",
"webpackplugin",
"commit",
"branch",
"branches"
],
"author": "Filip Dupanović",
"license": "MIT",
"bugs": {
"url": "https://github.com/langri-sha/screeps-webpack-plugin/issues"
},
"homepage": "https://github.com/langri-sha/screeps-webpack-plugin#readme",
"engines": {
"node": ">=6"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"screeps-modules": "^1.1.1"
},
"devDependencies": {
"ava": "^0.19.0",
"codecov": "^2.1.0",
"commitizen": "^2.9.3",
"cz-conventional-changelog": "^2.0.0",
"debug": "^2.6.0",
"nyc": "^10.2.0",
"snazzy": "^7.0.0",
"standard": "^10.0.1",
"webpack": "^2.1.0-beta.26"
}
}