mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-21 04:32:35 +08:00
enhance the build script of sqlite-plugin;
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"puppeteer": "20.1.0",
|
||||
"puppeteer-extra": "3.3.6",
|
||||
"puppeteer-extra-plugin-stealth": "2.11.2",
|
||||
"rimraf": "^5.0.5",
|
||||
"tapable": "^2.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
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"],
|
||||
}
|
||||
|
||||
11
pnpm-lock.yaml
generated
11
pnpm-lock.yaml
generated
@@ -23,6 +23,9 @@ importers:
|
||||
puppeteer-extra-plugin-stealth:
|
||||
specifier: 2.11.2
|
||||
version: 2.11.2(puppeteer-extra@3.3.6)
|
||||
rimraf:
|
||||
specifier: ^5.0.5
|
||||
version: 5.0.5
|
||||
tapable:
|
||||
specifier: ^2.2.1
|
||||
version: 2.2.1
|
||||
@@ -5100,6 +5103,14 @@ packages:
|
||||
dependencies:
|
||||
glob: 7.2.3
|
||||
|
||||
/rimraf@5.0.5:
|
||||
resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
glob: 10.3.10
|
||||
dev: false
|
||||
|
||||
/roarr@2.15.4:
|
||||
resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==}
|
||||
engines: {node: '>=8.0'}
|
||||
|
||||
Reference in New Issue
Block a user