-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
84 lines (84 loc) · 3.53 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
{
"name": "challenge",
"version": "1.0.4",
"private": true,
"main": "build/server/app.js",
"engines": {
"node": ">=6.2"
},
"scripts": {
"clean": "rimraf build && mkdirp build/server && mkdirp build/client && mkdirp build/bot",
"prebuild": "npm run clean",
"build:css": "lessc client/styles/main.less build/client/styles/main.css && copyfiles -f node_modules/font-awesome/fonts/* build/client/fonts",
"build:css:watch": "watch \"npm run build:css\" client/styles/",
"build:js:bot": "browserify bot/Bot.js -o build/bot/Bot.js -t [ babelify ] --node --ignore-missing",
"build:js:frontend": "browserify client/client.js -o build/client/client.js -t [ babelify ]",
"build:js:frontend:watch": "watch \"npm run build:js:frontend\" client/js shared/",
"build:js:backend": "browserify app.js -o build/server/app.js -t [ babelify ] --node --ignore-missing",
"build:js:backend:watch": "watch \"npm run build:js:backend\" server/ shared/ bot/",
"build:resources": "copyfiles -u 1 client/index.html \"client/images/**/*\" build/client",
"build:resources:watch": "watch \"npm run build:resources\" client/images",
"build": "run-p build:js:backend build:js:frontend build:css build:resources build:js:bot",
"build:watch": "run-p build:css:watch build:js:frontend:watch build:backend:watch build:resources:watch",
"test:frontend": "karma start test/client/karma.conf.js",
"test:frontend:watch": "npm run test:frontend -- --no-single-run",
"test:backend": "mocha --compilers js:babel-core/register \"test/{server,shared,bot}/**/*.js\"",
"test:backend:watch": "npm run test:backend -- -w",
"pretest": "eslint \"client/**/*.{js,jsx}\" \"server/**/*.js\" \"shared/**/*.js\" \"test/**/*.js\"",
"test": "run-p test:backend test:frontend",
"test:watch": "run-p test:backend:watch test:frontend:watch",
"prestart": "npm run build",
"start": "node build/server/app.js",
"start:tournament": "cross-env TOURNAMENT_LOGGING=true TOURNAMENT_ROUNDS=5 TOURNAMENT_COUNTING=true npm start",
"start:watch": "nodemon -e js,jsx,less --watch server --watch shared --watch client --exec \"npm run start\"",
"bot:start": "npm run build:js:bot && node build/bot/Bot.js",
"debug": "cross-env DEBUG=true npm run start:watch -- --debug --debug-brk=5858"
},
"devDependencies": {
"babel-eslint": "7.2.3",
"eslint": "4.1.0",
"eslint-plugin-import": "2.5.0",
"eslint-plugin-react": "7.1.0",
"karma": "1.7.0",
"karma-browserify": "5.1.1",
"karma-mocha": "1.3.0",
"karma-mocha-reporter": "2.2.3",
"karma-phantomjs-launcher": "1.0.4",
"mocha": "3.3.0",
"nodemon": "1.11.0",
"phantomjs-prebuilt": "2.1.14",
"socket.io-client": "2.0.1",
"watch": "1.0.2",
"watchify": "3.9.0"
},
"dependencies": {
"babel-core": "6.24.1",
"babel-polyfill": "6.23.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babelify": "7.3.0",
"browserify": "14.3.0",
"chai": "4.1.0",
"chalk": "2.0.0",
"copyfiles": "1.2.0",
"cross-env": "4.0.0",
"docker-namesgenerator": "0.0.1",
"express": "4.15.2",
"flux": "3.1.2",
"font-awesome": "4.7.0",
"glicko2": "0.8.4",
"less": "2.7.2",
"lodash": "4.17.4",
"mkdirp": "0.5.1",
"npm-run-all": "4.0.2",
"react": "15.6.1",
"react-addons-css-transition-group": "15.6.0",
"react-addons-test-utils": "15.6.0",
"react-dom": "15.6.1",
"request": "2.81.0",
"rimraf": "2.6.1",
"sinon": "2.3.5",
"validate.js": "0.11.1",
"ws": "2.3.1"
}
}