UNPKG

@nightwatch/schematics

Version:
81 lines (80 loc) 3.78 kB
{ "name": "@nightwatch/schematics", "version": "1.2.1", "description": "Adds Nightwatch to an existing Angular CLI project", "scripts": { "build": "tsc -p tsconfig.json", "build:clean:launch:v10": "npm run build && npm run clean:launch:v10", "build:clean:launch:v12": "npm run build && npm run clean:launch:v12", "build:clean:launch:v14": "npm run build && npm run clean:launch:v14", "build:test": "tsc -p tsconfig.spec.json", "build:test:watch": "tsc -p tsconfig.spec.json -w", "build:watch": "tsc -p tsconfig.json -w", "clean": "rm -rf src/**/*.{js,js.map,d.ts} && rm -rf test/**/*.{js,js.map,d.ts}", "clean:launch:v10": "npm run clean:v10 && npm run launch:v10", "clean:launch:v12": "npm run clean:v12 && npm run launch:v12", "clean:launch:v14": "npm run clean:v14 && npm run launch:v14", "clean:v10": "git checkout HEAD -- sandbox-v10 && git clean -f -d sandbox-v10", "clean:v12": "git checkout HEAD -- sandbox-v12 && git clean -f -d sandbox-v12", "clean:v14": "git checkout HEAD -- sandbox-v14 && git clean -f -d sandbox-v14", "dev:build": "cd sandbox && npm link ../ && ng run sandbox:nightwatch-run", "execute": "npm run build && schematics .:ng-add", "execute:prod": "npm run build && schematics .:ng-add --dry-run=false", "format": "prettier --write .", "launch:v10": "npm run link:sandbox:v10 && cd sandbox-v10 && ng add $npm_package_name --remove-protractor --environment='chrome' --no-cucumber-runner && npm link ../", "launch:v12": "npm run link:sandbox:v12 && cd sandbox-v12 && ng add $npm_package_name --remove-protractor --environment='chrome' --no-cucumber-runner && npm link ../", "launch:v14": "npm run link:sandbox:v14 && cd sandbox-v14 && ng add $npm_package_name --remove-protractor --environment='chrome' --no-cucumber-runner && npm link ../", "link:sandbox:v10": "npm link && cd sandbox-v10 && npm link $npm_package_name", "link:sandbox:v12": "npm link && cd sandbox-v12 && npm link $npm_package_name", "link:sandbox:v14": "npm link && cd sandbox-v14 && npm link $npm_package_name", "test": "npm run build:clean:launch && npm run test:sandbox:v14 && npm run clean", "test:sandbox:v14": "cd sandbox-14 && npm run lint && npm run test && npm run build && npm run e2e", "test:unit": "mocha test/**/*_spec.js", "test:v10": "cd sandbox-v10 && ng run sandbox-v10:nightwatch-run --headless", "test:v12": "cd sandbox-v12 && ng run sandbox-v12:nightwatch-run --headless", "test:v14": "cd sandbox-v14 && ng run sandbox-v14:nightwatch-run --headless", "unlink:sandbox": "cd sandbox && npm unlink $npm_package_name && cd .. && npm unlink" }, "keywords": [ "schematics", "builders", "nightwatch", "e2e", "testing", "nightwatch-schematic", "angular" ], "author": "Vaibhav Singh <vaibhav.s@browserstack.com>", "contributors": [], "license": "MIT", "publishConfig": { "access": "public" }, "bugs": "https://github.com/nightwatch/nightwatch-schematics/issues", "repository": { "type": "git", "url": "git@github.com:nightwatchjs/nightwatch-schematics.git" }, "builders": "./src/builders/builders.json", "schematics": "./src/schematics/collection.json", "ng-add": { "save": "devDependencies" }, "dependencies": { "@angular-devkit/architect": "^0.1502.4", "@angular-devkit/core": "^15.2.4", "@angular-devkit/schematics": "^15.2.4", "@schematics/angular": "^15.2.4", "jsonc-parser": "^3.2.0", "typescript": "~5.0.3" }, "devDependencies": { "@types/chai": "^4.3.4", "@types/mocha": "^10.0.1", "@types/node": "^18.15.11", "chai": "^4.3.7", "mocha": "^10.2.0", "nightwatch": "^2.6.19", "prettier": "^2.8.7" } }