-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
32 lines (32 loc) · 1.44 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
{
"scripts": {
"install-deps": "mix deps.get && npm i && cd priv/react_app && npm i && cd ../..",
"dev-backend": "mix phx.server",
"dev-frontend": "cd priv/react_app && npm start",
"dev": "npm-run-all -p dev-backend dev-frontend",
"testwatch-backend": "mix test.watch",
"testwatch-frontend": "cd priv/react_app && npm run test-watch",
"startS3": "s3rver -p 4567 --silent -d $HOME/.s3bucket &",
"stopS3": "kill $(pgrep -f s3rver)",
"test-backend": "npm run startS3 && MIX_ENV=test mix do compile, test --trace",
"test-frontend": "cd priv/react_app && npm run test && cd ../..",
"test": "npm run test-backend && npm run test-frontend",
"test-coverage-backend": "MIX_ENV=test mix do compile --warnings-as-errors, coveralls.json --trace",
"test-coverage-frontend": "cd priv/react_app && npm run test-coverage; cd ../..",
"generate-docs": "apidoc -i web -o docs",
"validate-editorconfig": "eclint check * 'web/**/*' 'test/**/*' 'priv/gettext/**/*' 'priv/repo/**/*' 'priv/react_app/src/**/*' 'priv/react_app/*' 'lib/**/*' 'config/**/*'",
"update-toc-readme": "doctoc README.md --github",
"download-prod-db": "MIX_ENV=dev mix ecto.drop && heroku pg:pull -a arkad-nexpo DATABASE_URL nexpo_dev"
},
"devDependencies": {
"apidoc": "^0.17.7",
"doctoc": "^1.4.0",
"eclint": "^2.8.1",
"npm-run-all": "^4.1.5",
"s3rver": "^2.2.9"
},
"engines": {
"node": "11.9.0",
"npm": ">6.5.0"
}
}