-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.94 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
{
"name": "kex-access-control",
"version": "0.1.0",
"description": "access control example",
"main": "./dist/index.js",
"scripts": {
"start": "node ./dist/index.js",
"build": "./node_modules/typescript/bin/tsc",
"test": "jest --detectOpenHandles --verbose",
"testwatch": "npm test -- --watch",
"lint": "./node_modules/tslint/bin/tslint --project tsconfig.json './src/**/*.ts'",
"watch-node": "nodemon dist/index.js",
"watch-ts": "npm run build -- -w",
"dev": "npm run watch-node & npm run watch-ts",
"migrate:up": "./node_modules/.bin/db-migrate up --config ./src/db/config.json --migrations-dir ./src/db/migrations",
"migrate:down": "./node_modules/.bin/db-migrate down --config ./src/db/config.json --migrations-dir ./src/db/migrations",
"ci": "$(npm bin)/sequelize db:migrate --url=$KEX_DB_URL && $(npm bin)/sequelize db:seed:all --url=$KEX_DB_URL && npm test"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*.spec.+(ts|js)"
]
},
"author": "Andrej Novikov",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@types/express": "^4.16.0",
"@types/jest": "^23.3.11",
"@types/sequelize": "^4.27.33",
"@types/supertest": "^2.0.7",
"@types/uuid": "^3.4.4",
"body-parser": "^1.18.3",
"eslint": "^5.11.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.12.1",
"jest": "^23.6.0",
"nodemon": "^1.18.9",
"sequelize-cli": "^5.4.0",
"sequelize-typescript": "^0.6.6",
"supertest": "^3.3.0",
"ts-jest": "^23.10.5",
"tslint": "^5.12.0",
"tslint-config-airbnb": "^5.11.1",
"typescript": "^3.2.2",
"uuid": "^3.3.2"
},
"dependencies": {
"express": "^4.16.4",
"pg": "^7.7.1",
"pg-hstore": "^2.3.2",
"sequelize": "^4.42.0"
}
}