-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
93 lines (93 loc) · 2.77 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": "restria",
"description": "Entria's REST API boilerplate",
"version": "0.0.1",
"dependencies": {
"@slack/client": "3.14.1",
"babel-polyfill": "^6.23.0",
"bcrypt-as-promised": "^1.1.0",
"dataloader": "^1.3.0",
"dotenv-safe": "^4.0.4",
"isomorphic-fetch": "^2.2.1",
"jsonwebtoken": "^8.1.0",
"kcors": "^2.2.2",
"koa": "^2.3.0",
"koa-convert": "^1.2.0",
"koa-logger": "^2.0.1",
"koa-multer": "^1.0.1",
"koa-router": "^7.2.1",
"kue": "^0.11.6",
"lint-staged": "^4.0.0",
"pg": "^7.4.0",
"pre-commit": "^1.2.2",
"prettier": "^1.4.4",
"pretty-format": "^21.2.1",
"uuid": "^3.1.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.26.3",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"eslint": "^4.0.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",
"flow-bin": "^0.57.3",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"nodemon": "^2.0.6"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"./dist"
],
"coverageReporters": [
"lcov",
"html"
]
},
"license": "MIT",
"lint-staged": {
"*.js": [
"prettier --write --single-quote true --trailing-comma all --print-width 100",
"git add"
]
},
"main": "index.js",
"pre-commit": "lint:staged",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/entria/restria"
},
"scripts": {
"build": "rm -rf dist/* && babel src --ignore *.spec.js --out-dir dist --copy-files --source-maps",
"flow": "flow; test $? -eq 0 -o $? -eq 2",
"api": "nodemon src/api/index.js --exec babel-node",
"lint": "eslint src/**",
"lint:staged": "lint-staged",
"pg:create-db": "./scripts/dev_pg_helper.sh restria_dev restria_user 12345",
"pg:start": "./scripts/dev_pg_helper.sh restria_dev start",
"pg:stop": "./scripts/dev_pg_helper.sh restria_dev stop",
"pg:run": "babel-node pgSql/index.js",
"pg:up": "yarn pg:run -- up",
"pg:down": "yarn pg:run -- down",
"pg:migrate": "yarn pg:run -- migrate",
"pg:migration": "yarn pg:run -- migration",
"pg:rollback": "yarn pg:run -- rollback",
"pg:nuke": "yarn pg:down && yarn pg:up && yarn pg:run seed",
"pg:seed": "yarn pg:run -- seed",
"server": "node dist/api/index.js",
"start": "nodemon src/api/index.js --exec babel-node",
"test": "jest --coverage --runInBand --forceExit",
"test:watch": "jest --watch --coverage"
}
}