16784fc8cb
**What kind of change does this PR introduce?** This replaces the default `ng e2e` with our custom builder. In the feature it seem possible to remove the necessity of the user running the server separately and run it from the builder - that will improve the easy of use and CI of this schematic. **Did you add tests for your changes?** **If relevant, did you update the documentation?** Yes - Updated `@puppeteer/ng-schematics` README.md **Summary** We want to not see the default `ng e2e` and we want to make it easier for the user to run commands. Angular Developer are likely to also use its' CLI. **Does this PR introduce a breaking change?** Yes. Users need to delete the default and initialize the schematics again. **Other information**
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "@puppeteer/ng-schematics",
|
|
"version": "0.0.1",
|
|
"description": "Puppeteer Angular schematics",
|
|
"scripts": {
|
|
"copy": "node copySchemaFiles.js",
|
|
"clean": "tsc -b --clean && rimraf lib",
|
|
"dev": "run-s clean copy && tsc -p tsconfig.json --watch",
|
|
"build": "run-s build:*",
|
|
"build:schematics": "npm run copy && tsc -p tsconfig.json",
|
|
"build:test": "tsc -p tsconfig.spec.json",
|
|
"test": "run-s clean build && mocha"
|
|
},
|
|
"keywords": [
|
|
"angular",
|
|
"puppeteer",
|
|
"schematics"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/ng-schematics"
|
|
},
|
|
"author": "The Chromium Authors",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=14.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@angular-devkit/architect": "^0.1402.10",
|
|
"@angular-devkit/core": "^14.2.6",
|
|
"@angular-devkit/schematics": "^14.2.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.15.0",
|
|
"@schematics/angular": "^14.2.8"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!*.tsbuildinfo"
|
|
],
|
|
"ng-add": {
|
|
"save": "devDependencies"
|
|
},
|
|
"schematics": "./lib/schematics/collection.json",
|
|
"builders": "./lib/builders/builders.json"
|
|
}
|