forked from ToolJet/ToolJet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.61 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
63
64
65
66
67
68
69
70
{
"name": "tooljet",
"version": "1.18.0",
"description": "ToolJet is an open-source low-code framework to build and deploy internal tools.",
"engines": {
"node": "14.17.3",
"npm": "7.20.0"
},
"lint-staged": {
"./frontend/src/**/*.{js,jsx}": [
"eslint --fix"
],
"./server/{src,test,plugins,scripts,migrations}/**/*.ts": [
"eslint --fix"
],
"./plugins/{packages}/**/*.ts": [
"eslint --fix"
]
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@tooljet/cli": "^0.0.12",
"babel-loader": "^8.0.5",
"eslint": "^7.25.0",
"faker": "^5.5.3",
"html-webpack-plugin": "^5.3.2",
"husky": "^7.0.2",
"lint-staged": "^11.2.3",
"path": "^0.12.7",
"webpack": "^5.55.1",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"@nestjs/cli": "^8.1.0",
"@nestjs/mapped-types": "*",
"ts-node": "^10.1.0"
},
"scripts": {
"prebuild:plugins": "npm run install:plugins",
"install:plugins": "npm --prefix plugins install",
"build:plugins": "npm --prefix plugins run build",
"prebuild:plugins:prod": "npm run install:plugins",
"build:plugins:prod": "NODE_ENV=production npm run build:plugins",
"postbuild:plugins:prod": "npm --prefix plugins prune --production",
"prebuild:frontend": "npm --prefix frontend install --production=false",
"build:frontend": "NODE_ENV=production npm --prefix frontend run build",
"postbuild:frontend": "npm --prefix frontend prune --production",
"prebuild:server": "npm --prefix server install",
"build:server": "NODE_ENV=production npm --prefix server run build",
"postbuild:server": "npm --prefix server prune --production",
"build": "npm run build:plugins:prod && npm run build:frontend && npm run build:server",
"start:prod": "npm --prefix server run start:prod",
"db:create": "npm --prefix server run db:create",
"db:create:prod": "npm --prefix server run db:create:prod",
"db:migrate": "npm --prefix server run db:migrate",
"db:migrate:prod": "npm --prefix server run db:migrate:prod",
"db:seed": "npm --prefix server run db:seed",
"db:seed:prod": "npm --prefix server run db:seed:prod",
"db:setup": "npm --prefix server run db:setup",
"db:setup:prod": "npm --prefix server run db:setup:prod",
"db:reset": "npm --prefix server run db:reset",
"db:drop": "npm --prefix server run db:drop",
"deploy": "cp -a frontend/build/. public/",
"heroku-postbuild": "./heroku-postbuild.sh",
"prepare": "husky install"
}
}