-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.98 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
{
"name": "bcc-directus-boilerplate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "18.2.1"
},
"scripts": {
"start": "directus start",
"init": "sh local_init.sh",
"build": "tsc",
"dev": "tsc --watch --sourceMap true",
"spec": "tsoa spec",
"postinstall": "tsc --project ./shared/tsconfig.json --rootDir ./shared/src --module ES2015 --outDir ./shared/dist/esm",
"clean": "rimraf extensions/dtos extensions/endpoints extensions/hooks extensions/services extensions/types",
"seed": "rimraf database/seeds/dist && tsc --project database/seeds/tsconfig.json && knex seed:run --esm --env development",
"dk-build": "docker exec -it directus-app npm run build",
"dk-init": "docker exec -it directus-app /bin/bash /home/node/app/local_init.sh && docker restart directus-app",
"dk-snapshot": "docker exec --workdir /home/node/app directus-app bash -c \"npx directus schema snapshot ./schema.yaml --yes\"",
"dk-apply": "docker exec --workdir /home/node/app directus-app bash -c \"npx directus schema apply ./schema.yaml --yes\"",
"dk-migrate": "docker exec --workdir /home/node/app directus-app bash -c \"npx directus database migrate:latest\"",
"lint": "gts lint",
"fix": "gts fix"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@types/express": "^4.17.14",
"@types/faker": "^6.6.9",
"@types/node": "^18.11.9",
"gts": "^3.1.1",
"tscpaths": "^0.0.9",
"typescript": "^4.9.3"
},
"dependencies": {
"@bcc-directus-boilerplate/shared": "file:shared",
"@types/fs-extra": "^9.0.13",
"directus": "^9.22.4",
"jwks-rsa": "^3.0.0",
"nodemon": "^2.0.20",
"pg": "^8.8.0",
"tsoa": "^4.1.3"
},
"peerDependencies": {
"dotenv": "^16.0.3",
"express": "^4.18.2",
"fs-extra": "^11.1.0",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^8.5.1",
"knex": "^2.3.0",
"lodash": "^4.17.21",
"rimraf": "^3.0.2"
}
}