mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-12 16:01:38 +08:00
enhance the build script of sqlite-plugin;
This commit is contained in:
1
packages/sqlite-plugin/.gitignore
vendored
1
packages/sqlite-plugin/.gitignore
vendored
@@ -2,3 +2,4 @@ node_modules
|
||||
src/**/*.js
|
||||
src/**/*.js.map
|
||||
database.sqlite
|
||||
dist
|
||||
|
||||
1
packages/sqlite-plugin/.npmignore
Normal file
1
packages/sqlite-plugin/.npmignore
Normal file
@@ -0,0 +1 @@
|
||||
src
|
||||
@@ -5,13 +5,13 @@
|
||||
"dependencies": {
|
||||
"reflect-metadata": "^0.2.1",
|
||||
"sqlite3": "^5.1.7",
|
||||
"typeorm": "^0.3.20"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typeorm": "^0.3.20",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "NODE_OPTIONS=\"-r ts-node/register --no-warnings\" node ./src/index"
|
||||
"dev": "NODE_OPTIONS=\"-r ts-node/register --no-warnings\" node ./src/index",
|
||||
"build": "rimraf dist && tsc --outDir dist",
|
||||
"postinstall": "npm run build"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"sourceMap": true,
|
||||
"sourceMap": false,
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user