3f2c0590f1
**What kind of change does this PR introduce?** It introduces schematic for Angular that integrate with its CLI. First revision support Jasmine. **Did you add tests for your changes?** Added Unit tests for each scenario. **Summary** The idea is to provide a an example for setting up Puppeteer and Angular for testing user flows. **Does this PR introduce a breaking change?** No **Other information** For Feature PRs: - Introduce CL for tests - Hook up NPM package publishing - Update README.md
37 lines
932 B
JSON
37 lines
932 B
JSON
{
|
|
"name": "@puppeteer/ng-schematics",
|
|
"version": "0.0.0",
|
|
"description": "Puppeteer Angular schematics",
|
|
"scripts": {
|
|
"copy": "node copySchemaFiles.js",
|
|
"clean": "tsc -b --clean && rimraf lib",
|
|
"dev": "npm run 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 build && mocha"
|
|
},
|
|
"keywords": [
|
|
"angular",
|
|
"puppeteer",
|
|
"schematics"
|
|
],
|
|
"author": "The Chromium Authors",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=14.1.0"
|
|
},
|
|
"dependencies": {
|
|
"@angular-devkit/core": "^14.2.6",
|
|
"@angular-devkit/schematics": "^14.2.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.15.0",
|
|
"@schematics/angular": "^14.2.8"
|
|
},
|
|
"ng-add": {
|
|
"save": "devDependencies"
|
|
},
|
|
"schematics": "./lib/schematics/collection.json"
|
|
}
|