mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix incremental builds (#9849)
This commit is contained in:
parent
0ead82e29e
commit
219d248c2a
@ -3,7 +3,6 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Puppeteer Angular schematics",
|
||||
"scripts": {
|
||||
"build:tsc": "wireit",
|
||||
"build": "wireit",
|
||||
"clean": "tsc -b --clean && rm -rf lib && rm -rf test/build",
|
||||
"dev:test": "npm run test --watch",
|
||||
@ -13,32 +12,17 @@
|
||||
},
|
||||
"wireit": {
|
||||
"build": {
|
||||
"command": "node tools/copySchemaFiles.js",
|
||||
"files": [
|
||||
"src/**/files/**",
|
||||
"src/**/*.json"
|
||||
],
|
||||
"output": [
|
||||
"lib/**/files/**",
|
||||
"lib/**/*.json"
|
||||
],
|
||||
"dependencies": [
|
||||
"build:tsc"
|
||||
]
|
||||
},
|
||||
"build:tsc": {
|
||||
"command": "tsc -b",
|
||||
"command": "tsc -b && node tools/copySchemaFiles.js",
|
||||
"clean": "if-file-deleted",
|
||||
"files": [
|
||||
"**/tsconfig.*.json",
|
||||
"**/tsconfig.json",
|
||||
"src/**/*.ts",
|
||||
"!src/**/files/**"
|
||||
"tsconfig.json",
|
||||
"tsconfig.spec.json",
|
||||
"src/**",
|
||||
"test/src/**"
|
||||
],
|
||||
"output": [
|
||||
"lib/**/*.{ts,js}",
|
||||
"lib/**/*.{ts,js}.map",
|
||||
"!lib/**/files/**"
|
||||
"lib/**",
|
||||
"test/build/**"
|
||||
]
|
||||
},
|
||||
"test": {
|
||||
|
Loading…
Reference in New Issue
Block a user