first commit

This commit is contained in:
编码猿
2024-09-27 00:54:11 +08:00
commit 05f12f4187
790 changed files with 149163 additions and 0 deletions

88
package.json Executable file
View File

@@ -0,0 +1,88 @@
{
"name": "WebsiteTemplate",
"version": "1.2.0",
"description": "这是一套基于Nodejs + koa2 + Typescript + Routing-controllers 纯手工搭建的项目基本框架,可以直接用在传统网站+管理后台的项目开发中",
"main": "index.ts",
"directories": {
"doc": "doc"
},
"scripts": {
"dev": "concurrently \"cross-env NODE_ENV=dev node-dev dist/index.js\" \"npm run dev:admin\" \"npm run clear\" ",
"build": "cross-env NODE_ENV=prod node-dev dist/index.js",
"doc": "apidoc -i src/controller/api/ -o doc/",
"clear": "rm -rf dist/resources/ && gulp && npm run chmod",
"watch": "tsc -w",
"ts": "concurrently \"cross-env NODE_ENV=dev ts-node src/index.ts\" \"npm run dev:admin\" \"npm run clear\" ",
"dev:admin": "cross-env NODE_ENV=dev parcel src/resources/view/admin/index.html -p 3030 --out-dir src/resources/view/admin/dist",
"build:admin": "parcel build entry.js src/resources/view/admin/index.html --public-url ./ --out-dir dist/resources/static/bmy --no-source-maps",
"chmod": "chmod -R 777 ./",
"online": "pm2 start ./index.js --name guaike --watch -i max",
"ts-node": "ts-node src/index.ts",
"api": "serve doc/"
},
"bin": {
"k-init": "bin/kinit"
},
"keywords": [],
"author": "bmy",
"license": "ISC",
"dependencies": {
"axios": "^0.18.0",
"class-validator": "^0.8.1",
"cross-env": "^5.2.0",
"element-ui": "^2.9.1",
"jade": "^1.11.0",
"kcors": "^2.2.2",
"koa": "^2.7.0",
"koa-body": "^4.1.0",
"koa-bodyparser": "^4.2.1",
"koa-log4": "^2.3.2",
"koa-multer": "^1.0.2",
"koa-router": "^7.4.0",
"koa-session": "^5.11.0",
"koa-static": "^5.0.0",
"koa-views": "^6.2.0",
"less": "^3.9.0",
"melanke-watchjs": "^1.5.0",
"moment": "^2.16.0",
"mysql": "^2.18.1",
"parcel": "^1.12.3",
"qiniu": "^7.2.1",
"reflect-metadata": "^0.1.13",
"request": "^2.86.0",
"routing-controllers": "^0.7.7",
"snakecase-keys": "^1.1.1",
"tslib": "^1.10.0",
"typedi": "^0.8.0",
"typeorm": "^0.2.24",
"urllib": "^2.17.0",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-property-decorator": "^8.1.0",
"vue-router": "^3.0.6",
"vue-template-compiler": "^2.6.10",
"vuex": "^3.1.1",
"vuex-class": "^0.3.2"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/runtime": "^7.4.5",
"@types/koa-bodyparser": "^4.2.2",
"@types/koa-session": "^5.10.0",
"@types/koa-static": "^4.0.1",
"@types/koa-views": "^2.0.3",
"@types/node": "^12.0.0",
"@vue/component-compiler-utils": "^3.0.0",
"chalk": "^2.4.2",
"class-transformer": "^0.2.0",
"commander": "^5.0.0",
"gulp": "^4.0.1",
"gulp-less": "^4.0.1",
"log-symbols": "^3.0.0",
"parcel-bundler": "^1.12.3",
"ts-node": "^8.6.2",
"typescript": "^3.4.5",
"vue-hot-reload-api": "^2.3.3"
}
}