-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
111 lines (111 loc) · 9.07 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "angular-typesafe-reactive-forms-helper",
"version": "2.0.2",
"description": "Use angular reactive forms with type-safety.",
"main": "./bundles/angular-typesafe-reactive-forms-helper.umd.js",
"scripts": {
"build": "npm-run-all --sequential build:**",
"build:remove-lib": "rimraf ./dist",
"build:packagr": "npm run packagr",
"test": "npm-run-all --sequential test:**",
"test:dtslint": "dtslint --localTs node_modules/typescript/lib --expectOnly ./tests/__typeTests__",
"test:jest": "jest --config jestconfig.json",
"format": "prettier --write 'src/**/*.ts' 'src/**/*.js'",
"prepare": "npm run build",
"prepublishOnly": "npm test",
"packagr": "ng-packagr --project ng-package.json",
"package-version-published": "npm show ./ version",
"package-json-version": "cat package.json | grep version | head -1 | awk -F: '{print $2}' | sed 's/[\",]//g' | sed 's/[ ]//g'",
"update-latest-integration-tests": "npm-run-all --sequential update-latest-integration-tests:**",
"update-latest-integration-tests-ngBeforeLatest-to-ngNext": "cp -R ./integrationTests/ng10/test-package-with-ng10/src/app/form/testform.component.spec.ts ./integrationTests/ng10/test-package-with-ng10/src/app/form/testform.component.ts ./integrationTests/ng10/test-package-with-ng10/src/app/form/testform.component.html ./integrationTests/ng10/test-package-with-ng10/src/app/form/testform.component.css ./integrationTests/ng11/test-package-with-ng11/src/app/form/",
"update-latest-integration-tests:ngLatest-to-ng10": "cp -R ./integrationTests/ng11/test-package-with-ng11/src/app/form/testform.component.spec.ts ./integrationTests/ng11/test-package-with-ng11/src/app/form/testform.component.ts ./integrationTests/ng11/test-package-with-ng11/src/app/form/testform.component.html ./integrationTests/ng10/test-package-with-ng10/src/app/form/",
"update-latest-integration-tests:ngLatest-to-ng9": "cp -R ./integrationTests/ng11/test-package-with-ng11/src/app/form/testform.component.spec.ts ./integrationTests/ng11/test-package-with-ng11/src/app/form/testform.component.ts ./integrationTests/ng11/test-package-with-ng11/src/app/form/testform.component.html ./integrationTests/ng9/test-package-with-ng9/src/app/form/",
"update-latest-integration-tests-ngBeforeLatest-to-ngNext:e2e": "cp -R ./integrationTests/ng10/test-package-with-ng10/e2e/protractor.conf.js ./integrationTests/ng11/test-package-with-ng11/e2e/ && cp -R ./integrationTests/ng10/test-package-with-ng10/e2e/src/app.e2e-spec.ts ./integrationTests/ng11/test-package-with-ng11/e2e/src/",
"update-latest-integration-tests:ngLatest-to-ng10:e2e": "cp -R ./integrationTests/ng11/test-package-with-ng11/e2e/protractor.conf.js ./integrationTests/ng10/test-package-with-ng10/e2e/ && cp -R ./integrationTests/ng11/test-package-with-ng11/e2e/src/app.e2e-spec.ts ./integrationTests/ng10/test-package-with-ng10/e2e/src/",
"update-latest-integration-tests:ngLatest-to-ng9:e2e": "cp -R ./integrationTests/ng11/test-package-with-ng11/e2e/protractor.conf.js ./integrationTests/ng9/test-package-with-ng9/e2e/ && cp -R ./integrationTests/ng11/test-package-with-ng11/e2e/src/app.e2e-spec.ts ./integrationTests/ng9/test-package-with-ng9/e2e/src/",
"pack-tgz": "npm pack ./dist",
"pack-to-dist-directory": "npm run pack-tgz && rimraf ./dist && mkdir ./dist && cp -R angular-typesafe-reactive-forms-helper*.tgz ./dist",
"unpack-tgz": "rimraf ./package && tar -xzvf *.tgz",
"remove-all-tgz": "rm -rf angular-typesafe-reactive-forms-helper-*.tgz",
"install-tgz-to-all-integration-tests": "npm run remove-all-tgz && npm run pack-tgz && npm run integration-tests:copy-to-tests && npm-run-all --sequential integration-tests:install:**",
"integration-tests": "npm run remove-all-tgz && npm run pack-tgz && npm-run-all --sequential integration-tests:**",
"integration-tests:copy-to-tests": "cp -R angular-typesafe-reactive-forms-helper*.tgz ./integrationTests/angular-typesafe-reactive-forms-helper.tgz",
"integration-tests:install:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && npm i ../../angular-typesafe-reactive-forms-helper.tgz && npm i",
"integration-tests:install:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && npm i ../../angular-typesafe-reactive-forms-helper.tgz && npm i",
"integration-tests:install:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && npm i ../../angular-typesafe-reactive-forms-helper.tgz && npm i",
"integration-tests:build:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && npm run build",
"integration-tests:build:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && npm run build",
"integration-tests:build:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && npm run build",
"integration-tests:version:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && npm run ng -- --version",
"integration-tests:version:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && npm run ng -- --version",
"integration-tests:version:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && npm run ng -- --version",
"integration-tests:list-installs:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && (npm ls --prod --depth 0 || exit 0) && (npm ls --dev --depth 0 || exit 0)",
"integration-tests:list-installs:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && (npm ls --prod --depth 0 || exit 0) && (npm ls --dev --depth 0 || exit 0)",
"integration-tests:list-installs:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && (npm ls --prod --depth 0 || exit 0) && (npm ls --dev --depth 0 || exit 0)",
"integration-tests:test-ci:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && cross-env CI=true npm run test -- --watch=false",
"integration-tests:test-ci:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && cross-env CI=true npm run test -- --watch=false",
"integration-tests:test-ci:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && cross-env CI=true npm run test -- --watch=false",
"integration-tests:e2e-ci:ng9:prod": "cd ./integrationTests/ng9/test-package-with-ng9 && cross-env NG_VERSION=9 CI=true npm run e2e -- --prod --no-webdriver-update",
"integration-tests:e2e-ci:ng10:prod": "cd ./integrationTests/ng10/test-package-with-ng10 && cross-env NG_VERSION=10 CI=true npm run e2e -- --prod --no-webdriver-update",
"integration-tests:e2e-ci:ng11:prod": "cd ./integrationTests/ng11/test-package-with-ng11 && cross-env NG_VERSION=11 CI=true npm run e2e -- --prod --no-webdriver-update",
"start:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && npm run start -- --port 4090",
"start:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && npm run start -- --port 4100",
"start:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && npm run start -- --port 4110",
"start:ng9:prod": "cd ./integrationTests/ng9/test-package-with-ng9 && npm run start -- --prod --port 4091",
"start:ng10:prod": "cd ./integrationTests/ng10/test-package-with-ng10 && npm run start -- --prod --port 4101",
"start:ng11:prod": "cd ./integrationTests/ng11/test-package-with-ng11 && npm run start -- --prod --port 4111",
"test-karma:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && npm run test",
"test-karma:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && npm run test",
"test-karma:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && npm run test",
"upgrade:ng9": "cd ./integrationTests/ng9/test-package-with-ng9 && npm run ng -- update @angular/cli@^9 @angular/core@^9",
"upgrade:ng10": "cd ./integrationTests/ng10/test-package-with-ng10 && npm run ng -- update @angular/cli@^10 @angular/core@^10",
"upgrade:ng11": "cd ./integrationTests/ng11/test-package-with-ng11 && npm run ng -- update @angular/cli@^11 @angular/core@^11",
"bump-ng-and-create-PR": "node ./scriptUtilities/bump-ng-and-create-PR.js",
"is-ng-bump-required": "node ./scriptUtilities/is-ng-bump-required.js"
},
"repository": {
"type": "git",
"url": "https://github.com/rpbeukes/angular-typesafe-reactive-forms-helper"
},
"keywords": [
"angular",
"reactive",
"forms",
"angular reactive forms",
"typesafe"
],
"author": "Ruan Beukes <ruan.coder@gmail.com>",
"contributors": [
"Matt <howiempt>"
],
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@angular/common": "~11.2.14",
"@angular/compiler": "~11.2.14",
"@angular/compiler-cli": "^11.2.14",
"@angular/core": "~11.2.14",
"@angular/forms": "~11.2.14",
"@angular/platform-browser": "~11.2.14",
"@types/jest": "^27.4.0",
"@types/puppeteer": "^5.4.3",
"@types/shelljs": "^0.8.7",
"cross-env": "^7.0.3",
"dtslint": "^4.0.0",
"jasmine-reporters": "^2.4.0",
"jest": "^26.0.1",
"ng-packagr": "^11.2.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.2",
"protractor-console-plugin": "^0.1.1",
"puppeteer": "^19.0.0",
"rimraf": "^4.1.1",
"rxjs": "^6.5.3",
"shelljs": "^0.8.3",
"ts-jest": "^26.1.0",
"ts-node": "^10.0.0",
"tslib": "^2.0.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.6"
}
}