-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.72 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
{
"name": "dash-directus",
"version": "1.0.0",
"license": "OSL-3.0",
"description": "jsDelivr dashboard directus",
"private": true,
"type": "module",
"dependencies": {
"bluebird": "^3.7.2",
"config": "^3.3.9",
"config-mapper-env": "^2.0.0",
"knex": "^3.1.0",
"lodash": "^4.17.21",
"mysql": "^2.18.1"
},
"devDependencies": {
"@martin-kolarik/eslint-config": "^7.2.0",
"@types/bluebird": "^3.5.39",
"@types/config": "^3.3.1",
"@types/eslint": "^8.44.3",
"@types/lodash": "^4.14.199",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.3.0",
"eslint": "^8.50.0",
"eslint-plugin-vue": "^9.17.0",
"husky": "^8.0.3"
},
"scripts": {
"lint": "eslint --cache .",
"lint:fix": "npm run lint -- --fix",
"init": "./scripts/init.sh",
"init:dev": "./scripts/init.sh --dev",
"migrate": "rm -rf ./extensions/migrations/* && mkdir -p ./extensions/migrations/ && cp -rp ./src/extensions/migrations/* ./extensions/migrations/ && dotenv -- npx --yes [email protected] database migrate:latest",
"seed": "NODE_ENV=development knex seed:run",
"schema:apply": "npx --yes [email protected] schema apply --yes snapshots/collections-schema.yml",
"schema:snapshot": "npx --yes [email protected] schema snapshot --yes snapshots/collections-schema.yml",
"prepare": "husky install || echo 'Failed to install husky'",
"build:in-sequence": "grep -E 'AS builder-[0-9]+' Dockerfile | awk -F 'AS ' '{print $2}' | xargs -r -P 1 -I STAGE docker build --target STAGE .",
"test": "./scripts/test.sh"
},
"repository": {
"type": "git",
"url": "[email protected]:jsdelivr/dash-directus.git"
},
"bugs": {
"url": "https://github.com/jsdelivr/dash-directus/issues"
},
"engines": {
"node": "^18.15.0"
}
}