forked from ditojs/dito-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 3.33 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
71
72
73
74
75
76
77
78
{
"name": "dito-example",
"version": "0.4.0",
"description": "",
"main": "src/server/app.js",
"repository": "https://github.com/ditojs/dito-example",
"author": "Jürg Lehni <[email protected]> (http://scratchdisk.com)",
"license": "MIT",
"scripts": {
"db:create_migration": "dito db:create_migration src/server/app",
"db:migrate": "babel-node --extensions \".ts,.js\" ./node_modules/.bin/dito db:migrate src/config",
"db:rollback": "babel-node --extensions \".ts,.js\" ./node_modules/.bin/dito db:rollback src/config",
"db:reset": "babel-node --extensions \".ts,.js\" ./node_modules/.bin/dito db:reset src/config",
"db:seed": "babel-node --extensions \".ts,.js\" ./node_modules/.bin/dito db:seed src/server/app",
"console": "babel-node --extensions \".ts,.js\" ./node_modules/.bin/dito console src/server/app",
"start": "babel-node --extensions \".ts,.js\" src/server",
"watch": "nodemon --ext js,jsx,ts,tsx,json --watch src/server --watch src/config --exec 'yarn start'",
"watch:dito": "nodemon --ext js,jsx,ts,tsx,json --watch src/server --watch src/config --watch ../dito/packages/server/lib --watch ../dito/packages/utils/lib --watch ../dito/packages/router/lib --watch ../objection.js --watch ../knex --exec 'yarn start'",
"dev": "cross-env NODE_ENV=development yarn watch",
"dev:dito": "cross-env NODE_ENV=development yarn watch:dito",
"debug": "cross-env DEBUG=* yarn start",
"inspect": "babel-node --extensions \".ts\" --inspect --debug-brk src/server",
"clean": "rimraf dist",
"build:src": "babel src -d dist --copy-files --source-maps inline --extensions \".ts,.tsx\"",
"build:admin": "cross-env NODE_ENV=production vue-cli-service build src/admin/index.ts --dest dist/admin",
"build": "yarn build:src && yarn build:admin",
"serve": "node dist/server",
"lint": "cross-env NODE_ENV=production eslint src test migrations seeds",
"lint:fix": "eslint --fix src test migrations seeds",
"prepare": "yarn clean && yarn build",
"precommit": "yarn lint",
"types": "tsc --noEmit --project ."
},
"engines": {
"node": ">= 14.0.0",
"yarn": ">= 1.0.0"
},
"dependencies": {
"@ditojs/server": "^0.193.0",
"@ditojs/utils": "^0.193.0",
"bluebird": "^3.7.2",
"core-js": "^3.6.5",
"knex": "^0.21.6",
"koa-static": "^5.0.0",
"node-sass": "^5.0.0",
"objection": "^2.2.3",
"sass-loader": "^10.1.0",
"sqlite3": "^5.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/node": "^7.12.6",
"@babel/preset-env": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@ditojs/babel-preset": "^0.193.0",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-compress": "^4.0.0",
"@types/koa-logger": "^3.1.1",
"@types/koa-pino-logger": "^3.0.0",
"@types/koa-response-time": "^2.1.0",
"@types/koa-session": "^5.10.2",
"@types/koa-static": "^4.0.1",
"@types/koa__cors": "^3.0.1",
"@vue/cli-plugin-babel": "^4.5.9",
"@vue/cli-plugin-typescript": "^4.5.9",
"@vue/cli-service": "^4.5.9",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-module-resolver": "^4.0.0",
"cross-env": "^7.0.2",
"faker": "^5.1.0",
"husky": "^4.3.0",
"nodemon": "^2.0.4",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.1.0"
}
}