-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfull-package-json.ts
More file actions
103 lines (103 loc) · 3.42 KB
/
Copy pathfull-package-json.ts
File metadata and controls
103 lines (103 loc) · 3.42 KB
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
export const fullPackageJson = {
name: 'lumberjack',
version: '0.0.0',
scripts: {
ng: 'ng',
start: 'ng serve lumberjack-app',
build: 'ng build lumberjack-app --prod',
test: 'ng test lumberjack-app',
'test:ci': 'yarn test --configuration=ci',
lint: 'ng lint',
e2e: 'ng e2e lumberjack-app-e2e',
'contributors:add': 'all-contributors add',
'hooks:pre-commit': 'node hooks/pre-commit.js',
commit: 'git-cz',
'release:first': 'yarn release -- --first-release',
'build:lib':
'ng build ngworker-lumberjack --prod && npx copy README.md ./dist/ngworker/lumberjack',
'test:lib': 'ng test ngworker-lumberjack',
'test:lib:ci': 'yarn test:lib --configuration=ci',
'test:internal':
'ng test internal-test-util && ng test internal-console-driver-test-util',
'test:internal:ci':
'ng test internal-test-util --configuration=ci && ng test internal-console-driver-test-util --configuration=ci',
release:
'cd libs/ngworker/lumberjack && standard-version --infile ../../../CHANGELOG.md',
publish: 'cd dist/ngworker/lumberjack && npm publish',
ci:
'yarn install && yarn lint && yarn build:lib && yarn test:internal:ci && yarn test:lib:ci && yarn build && yarn test:ci && yarn e2e',
format:
'npx prettier --config prettier.config.js --write "**/*.*" "!dist/**" "!yarn.lock"',
'delete-path-alias': 'node tools/delete-path-alias.js'
},
private: true,
dependencies: {
'@angular/animations': '~10.1.6',
'@angular/common': '~10.1.6',
'@angular/compiler': '~10.1.6',
'@angular/core': '~10.1.6',
'@angular/elements': '~10.1.6',
'@angular/forms': '~10.1.6',
'@angular/platform-browser': '~10.1.6',
'@angular/platform-browser-dynamic': '~10.1.6',
'@angular/router': '~10.1.6',
rxjs: '~6.6.3',
tslib: '^2.0.0',
'zone.js': '~0.10.3'
},
devDependencies: {
'@angular-devkit/build-angular': '~0.1001.7',
'@angular-devkit/build-ng-packagr': '~0.1001.7',
'@angular-devkit/schematics-cli': '~0.1001.7',
'@angular/cli': '~10.1.7',
'@angular/compiler-cli': '~10.1.6',
'@commitlint/cli': '8.1.0',
'@commitlint/config-angular': '^8.3.4',
'@commitlint/config-conventional': '^8.3.4',
'@ngneat/spectator': '^6.0.0',
'@types/jasmine': '~3.5.0',
'@types/jasminewd2': '~2.0.3',
'@types/node': '^12.12.62',
'all-contributors-cli': '^6.8.1',
codelyzer: '^6.0.0',
copy: '~0.3.2',
'git-cz': '^3.3.0',
husky: '^3.1.0',
'jasmine-core': '~3.5.0',
'jasmine-spec-reporter': '~5.0.2',
json: '^10.0.0',
karma: '~5.0.9',
'karma-chrome-launcher': '~3.1.0',
'karma-coverage-istanbul-reporter': '~3.0.2',
'karma-jasmine': '~3.3.1',
'karma-jasmine-html-reporter': '^1.5.0',
'lint-staged': '^9.5.0',
'ng-packagr': '^10.0.0',
prettier: '^2.0.5',
protractor: '~7.0.0',
'standard-version': '^6.0.1',
'ts-node': '~8.3.0',
tslint: '~6.1.0',
'tslint-config-prettier': '^1.18.0',
'tslint-plugin-prettier': '^2.3.0',
typescript: '~3.9.7'
},
config: {
commitizen: {
path: 'cz-conventional-changelog'
}
},
'lint-staged': {
'*.{js,json,css,scss,ts,html,component.html}': [
'prettier --write',
'git add'
]
},
husky: {
hooks: {
'commit-msg': 'commitlint -e $HUSKY_GIT_PARAMS',
'pre-commit': 'yarn hooks:pre-commit && lint-staged && yarn lint',
'pre-push': 'yarn test:lib:ci'
}
}
};