diff --git a/packages/ng-schematics/package.json b/packages/ng-schematics/package.json index b3af1a48..c96611a3 100644 --- a/packages/ng-schematics/package.json +++ b/packages/ng-schematics/package.json @@ -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": {