-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·34 lines (34 loc) · 2.12 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
{
"name": "users-service",
"version": "1.0.0",
"description": "Service for users and authentication",
"main": "build/index.js",
"scripts": {
"build": "../../node_modules/.bin/webpack --env production",
"build:dev": "../../node_modules/.bin/webpack --env development",
"build:watch": "../../node_modules/.bin/webpack --watch --env development",
"dev": "npx concurrently \"npm run build:watch\" \"npm start\"",
"lint:fix": "../../node_modules/.bin/eslint --ext .js,.jsx,.ts,.tsx --fix ./",
"lint": "../../node_modules/.bin/eslint --quiet --ext .js,.jsx,.ts,.tsx ./",
"migrations:create": "dotenv_config_path=../../.env node --require=../../node_modules/dotenv/config ../../node_modules/.bin/knex --knexfile ./src/store/knexfile.js migrate:make $1",
"migrations:rollback": "dotenv_config_path=../../.env node --require=../../node_modules/dotenv/config ../../node_modules/.bin/knex --knexfile ./src/store/knexfile.js migrate:rollback $1",
"migrations:run": "dotenv_config_path=../../.env node --require=../../node_modules/dotenv/config ../../node_modules/.bin/knex --knexfile ./src/store/knexfile.js migrate:latest",
"start": "../../node_modules/.bin/nodemon --require=../../node_modules/dotenv/config build/server.js dotenv_config_path=../../.env --withSQLLogs",
"test": "NODE_ENV=development ../../node_modules/.bin/mocha -r ../../node_modules/ts-node/register -r tsconfig-paths/register --config .mocharc.js './tests/**/*.test.ts' --exit",
"test:unit": "NODE_ENV=development ../../node_modules/.bin/mocha -r ../../node_modules/ts-node/register -r tsconfig-paths/register --config .mocharc.js './tests/unit/**/*.test.ts' --exit",
"test:integration": "../../node_modules/.bin/mocha -r ../../node_modules/ts-node/register -r tsconfig-paths/register --config .mocharc.js './tests/integration/**/*.test.ts' --exit",
"test:coverage": "../../node_modules/.bin/nyc --config ./nyc.config.js npm run test"
},
"keywords": [
"therr",
"server",
"users",
"authentication"
],
"author": "Therr, Inc.",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"webpack-cli": "^4.7.2"
}
}