-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.89 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.89 KB
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
{
"name": "rest-api",
"version": "1.0.0",
"description": "nullplatform service API",
"main": "src/index.js",
"type": "module",
"config": {
"format": "npx prettier --ignore-path .gitignore **/*.+(js|cjs|json|yml|md)",
"lint": "npx eslint --ignore-path .gitignore --ext .js,.cjs"
},
"scripts": {
"dev": "nodemon src/index.js",
"start": "node src/index.js",
"start:dev": "docker-compose up -d && node src/index.js",
"test": "NODE_ENV=test AWS_ACCESS_KEY_ID=x AWS_SECRET_ACCESS_KEY=x npx mocha",
"test:coverage": "c8 npm run test",
"test:unit": "UNIT_TEST=true npm run test test/unit/**/*.spec.js",
"test:functional": "npm run test test/functional/**/*.spec.js",
"test:static": "run-p check:*",
"check:format": "$npm_package_config_format --check",
"check:lint": "$npm_package_config_lint .",
"fix:format": "$npm_package_config_format --write",
"fix:lint": "$npm_package_config_lint . --fix",
"compose:up": "docker-compose up -d",
"compose:down": "docker-compose down",
"migrate": "npx sequelize-cli db:migrate",
"migrate:undo": "npx sequelize-cli db:migrate:undo",
"migrate:undo:all": "npx sequelize-cli db:migrate:undo:all",
"seed": "npx sequelize-cli db:seed:all",
"seed:undo": "npx sequelize-cli db:seed:undo",
"seed:undo:all": "npx sequelize-cli db:seed:undo:all",
"prepare": "if [ \"${CI:-}\" != \"true\" ]; then husky; fi"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nullplatform/rest-api.git"
},
"author": "nullplatform",
"license": "ISC",
"bugs": {
"url": "https://github.com/nullplatform/rest-api/issues"
},
"homepage": "https://github.com/nullplatform/rest-api#readme",
"dependencies": {
"@nullplatform/cluster": "^0.0.6",
"@nullplatform/http-client": "^0.0.10",
"@nullplatform/json-keys-transform": "^0.0.4",
"@nullplatform/json-schema": "^0.0.16",
"@nullplatform/log": "^0.1.0",
"@nullplatform/observability": "^0.0.15",
"@nullplatform/relational-database": "^0.0.9",
"@nullplatform/server": "^0.1.0",
"config": "^3.3.12",
"dotenv": "^16.4.7",
"lodash-es": "^4.17.21",
"pg": "^8.13.3",
"pg-hstore": "^2.3.4"
},
"devDependencies": {
"@nullplatform/log-pretty": "^0.1.0",
"@nullplatform/openapi": "^0.1.0",
"@nullplatform/test-container": "^0.0.8",
"c8": "^10.1.2",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.4",
"lint-staged": "^15.2.9",
"mocha": "^10.7.0",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"sinon": "^18.0.0",
"sinon-chai": "^4.0.0",
"uuid": "^10.0.0"
}
}