-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.29 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
{
"name": "eslint-config-screeps-neat-o",
"version": "1.2.1",
"description": "A ESLint shareable config for Screeps",
"main": "index.js",
"scripts": {
"test": "ava --verbose",
"start": "npm run -s lint && npm run -s build && npm run -s test",
"build": "mkdir -p dist; node --harmony-async-await bin/build http://support.screeps.com/hc/en-us/articles/203084991-API-Reference > dist/index.js",
"lint": "standard | snazzy",
"prepublish": "npm run -s build",
"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/eslint-config-screeps-neat-o.git"
},
"keywords": [
"eslint",
"eslintconfig",
"screeps"
],
"author": "Filip Dupanović",
"license": "MIT",
"bugs": {
"url": "https://github.com/langri-sha/eslint-config-screeps-neat-o/issues"
},
"homepage": "https://github.com/langri-sha/eslint-config-screeps-neat-o#readme",
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"files": [
"CHANGELOG.md",
"dist",
"index.js"
],
"peerDependencies": {
"eslint": ">= 3"
},
"devDependencies": {
"ava": "^0.18.1",
"babel-traverse": "^6.22.1",
"babel-types": "^6.22.0",
"babylon": "^6.15.0",
"commitizen": "^2.8.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.9.1",
"snazzy": "^6.0.0",
"standard": "^8.5.0",
"x-ray": "^2.3.1"
}
}