-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 2.91 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
85
86
87
88
89
90
91
92
93
{
"name": "smsup",
"version": "0.0.0",
"private": true,
"babel": {
"presets": [
"es2015",
"stage-0"
]
},
"scripts": {
"start": "concurrently \"npm run dev-server \" \"npm run client\"",
"dev-server": "babel-node ./bin/start-server.js",
"client": "babel-node ./bin/start-client.js",
"build": "cd client ; npm run build ; mkdir -p ../build ; cp -R ./build ../build/client ; cd .. ; ./node_modules/.bin/webpack",
"server": "node ./build/bundle.js --production",
"test": "jest && node -r dotenv/config ./node_modules/.bin/cucumber.js --compiler es6:babel-core/register --tags 'not @wip'",
"lint": "node_modules/.bin/eslint ./server",
"unit": "node $NODE_DEBUG_OPTION -r babel-register ./node_modules/.bin/jest --setupTestFrameworkScriptFile ./bin/unit-tests.js",
"watch": "node $NODE_DEBUG_OPTION -r babel-register ./node_modules/.bin/jest --setupTestFrameworkScriptFile ./bin/unit-tests.js --watch"
},
"dependencies": {
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "6.14.0",
"babel-preset-react": "^6.16.0",
"bluebird": "^3.4.7",
"body-parser": "~1.15.2",
"connect-mongodb-session": "^1.3.0",
"cookie-parser": "~1.4.3",
"debug": "~2.2.0",
"eslint-plugin-flowtype": "^2.34.1",
"express": "~4.14.0",
"express-ipfilter": "^0.2.1",
"express-session": "^1.15.2",
"i18n": "^0.8.3",
"iconv-lite": "^0.4.15",
"isomorphic-fetch": "^2.2.1",
"mongoose": "^4.6.8",
"mongoose-delete": "^0.3.4",
"morgan": "~1.7.0",
"passwordless": "^1.1.2",
"passwordless-mongostore-bcrypt-node": "^0.1.1",
"serve-favicon": "~2.3.0",
"winston": "^2.3.0"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^17.0.2",
"babel-loader": "^6.3.2",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-stage-0": "^6.24.1",
"concurrently": "^3.1.0",
"cucumber": "^2.0.0-rc.5",
"decache": "^4.1.0",
"dotenv": "^2.0.0",
"eslint": "^3.13.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.10.0",
"jest-cli": "^18.1.0",
"nock": "^9.0.2",
"supertest": "^2.0.1",
"webpack": "^2.2.1",
"webpack-node-externals": "^1.5.4"
},
"jest": {
"testPathDirs": [
"server",
"client"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"eslintConfig": {
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"jest": true,
"node": true
},
"rules": {
"arrow-body-style": "off"
}
}
}