-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
132 lines (132 loc) · 5.41 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "image-annotator",
"description": "An application to manually tag images to support diversity in facial recognition image corpora",
"version": "1.0.0",
"private": true,
"license": "MIT",
"engines": {
"node": ">=6.6.0"
},
"browserslist": [
"> 5%",
"last 2 versions"
],
"scripts": {
"build": "webpack",
"build:development": "NODE_ENV=development webpack",
"build:production": "NODE_ENV=production webpack --config webpack.config.prod.js",
"build:staging": "NODE_ENV=production webpack --config webpack.config.prod.js",
"migrate": "careen -c backend/db/migrations/careen",
"migrate:up": "careen -A -e -c backend/db/migrations/careen",
"migrate:down": "careen -R -e -c backend/db/migrations/careen",
"migrate:create": "careen -C -c backend/db/migrations/careen",
"migrate:reset": "careen -R -a -e -n 10000 -c backend/db/migrations/careen; npm run migrate:up",
"start": "npm-run-all -p -r front:development server:development",
"front:development": "webpack-dev-server",
"server:production": "babel-node backend/server",
"server:staging": "babel-node backend/server",
"server:development": "supervisor -w backend/ -e js,sql backend/server",
"lint": "eslint --ext js,jsx ./*.js frontend jest backend .storybook",
"test:dev": "node jest/run.js --watch",
"test": "npm run lint && node jest/run.js",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"edit-secrets": "ansible-vault edit ansible/vars/secrets.yml",
"provision:vagrant": "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ansible/inventory/vagrant ansible/provision.yml",
"deploy:vagrant": "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ansible/inventory/vagrant ansible/deploy.yml",
"database-restore:vagrant": "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook --ask-vault-pass -i ansible/inventory/vagrant ansible/database-restore.yml",
"provision:staging": "ansible-playbook --ask-vault-pass --ask-sudo-pass -i ansible/inventory/staging ansible/provision.yml",
"deploy:staging": "ansible-playbook --ask-vault-pass -i ansible/inventory/staging ansible/deploy.yml",
"database-restore:staging": "ansible-playbook --ask-sudo-pass -i ansible/inventory/staging ansible/database-restore.yml",
"provision:production": "ansible-playbook --ask-vault-pass --ask-sudo-pass -i ansible/inventory/production ansible/provision.yml",
"deploy:production": "ansible-playbook --ask-vault-pass -i ansible/inventory/production ansible/deploy.yml",
"database-restore:production": "ansible-playbook --ask-sudo-pass -i ansible/inventory/production ansible/database-restore.yml",
"download-annotations": "ansible-playbook --ask-vault-pass -i ansible/inventory/production ansible/download-annotations.yml",
"download-feedback": "ansible-playbook --ask-vault-pass -i ansible/inventory/production ansible/download-feedback.yml"
},
"jest": {
"moduleFileExtensions": [
"jsx",
"js",
"json"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/fileStub.js",
"^.+\\.(scss|css)$": "identity-obj-proxy"
},
"testPathIgnorePatterns": [
"<rootDir>/(dist|node_modules)/"
],
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(js|jsx)$"
},
"dependencies": {
"axios": "^0.15.3",
"babel-cli": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-register": "^6.23.0",
"bluebird": "^3.4.7",
"body-parser": "^1.16.1",
"careen": "^0.1.1",
"chalk": "^1.1.3",
"classnames": "^2.2.5",
"connect-pg-simple": "^3.1.2",
"cookie-parser": "^1.4.3",
"debug": "^2.6.1",
"dotenv": "^4.0.0",
"express": "^4.14.1",
"express-routebuilder": "^2.1.0",
"express-session": "^1.15.1",
"kapow": "^1.0.0",
"lodash": "^4.17.4",
"morgan": "^1.8.1",
"pg": "^6.1.2",
"pg-monitor": "^0.7.1",
"pg-promise": "^5.6.2",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-hot-loader": "^3.0.0-beta.6",
"react-redux": "^5.0.2",
"react-router-dom": "^4.0.0-beta.7",
"redux": "^3.6.0",
"redux-logger": "^2.8.1",
"redux-saga": "^0.14.3"
},
"devDependencies": {
"@kadira/storybook": "^2.21.0",
"@kadira/storybook-addon-knobs": "^1.7.1",
"autoprefixer": "^6.7.0",
"axios-mock-adapter": "^1.7.1",
"babel-core": "^6.22.1",
"babel-jest": "^19.0.0",
"babel-loader": "^6.2.10",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.22.0",
"css-loader": "^0.26.1",
"eslint": "^3.14.1",
"eslint-config-airbnb": "^14.0.0",
"eslint-loader": "^1.6.3",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.10.3",
"extract-text-webpack-plugin": "^2.1.0",
"file-loader": "^0.9.0",
"find-cache-dir": "^0.1.1",
"hard-source-webpack-plugin": "^0.3.8",
"html-webpack-plugin": "^2.26.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^19.0.0",
"node-object-hash": "^1.1.5",
"npm-run-all": "^4.0.2",
"postcss-loader": "^1.2.2",
"redux-saga-test-plan": "^2.2.1",
"style-loader": "^0.13.1",
"stylus": "^0.54.5",
"stylus-loader": "^2.4.0",
"supervisor": "^0.12.0",
"url-loader": "^0.5.8",
"webpack": "^2.2.0",
"webpack-dev-server": "^2.2.0"
}
}