-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
80 lines (80 loc) · 3.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"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 <[email protected]>",
"contributors": [],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"bugs": "https://github.com/nightwatch/nightwatch-schematics/issues",
"repository": {
"type": "git",
"url": "[email protected]: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"
}
}