forked from Alfresco/alfresco-content-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 5.43 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "alfresco-content-app",
"version": "2.0.1",
"commit": "<build-generated-commit>",
"license": "LGPL-3.0",
"scripts": {
"postinstall": "ngcc",
"ng": "ng",
"start": "npm run validate-config && ng serve --open",
"start:prod": "npm run validate-config && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng serve --prod --open",
"build:aos-extension": "npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext --prod && cpr projects/adf-office-services-ext/ngi.json dist/@alfresco/adf-office-services-ext/ngi.json && cpr projects/adf-office-services-ext/assets dist/@alfresco/adf-office-services-ext/assets",
"build.shared": "ng build aca-shared --prod",
"build.aos": "npm run build:aos-extension",
"build.extensions": "npm run build.shared && npm run build.aos",
"build.app": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --prod",
"build": "npm run validate-config && npm run build.app -- --prod",
"build.e2e": "npm run build.app -- --prod --configuration=e2e",
"test": "ng test app --code-coverage",
"unit": "ng test --browsers=Chrome --watch",
"lite-serve": "./scripts/run lite-serve",
"test:ci": "npm run build.extensions && ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false",
"lint": "ng lint && npm run spellcheck && npm run e2e.typecheck",
"update-webdriver": "./scripts/update-webdriver.sh",
"e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json",
"e2e": "npm run update-webdriver && protractor --baseUrl=${TEST_BASE_URL:-http://localhost:8080/content-app} $SUITE",
"e2e.local": "npm run update-webdriver && protractor --baseUrl=http://localhost:4200",
"wait:app": "wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/alfresco/ -t 1000000",
"start:docker": "./start.sh",
"stop:docker": "./start.sh -d",
"e2e:docker": "./start.sh && npm run e2e && ./start.sh -d",
"spellcheck": "cspell '{src,e2e,projects}/**/*.ts'",
"inspect.bundle": "ng build app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json",
"validate-config": "ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose"
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "4.0.0",
"@alfresco/adf-core": "4.0.0",
"@alfresco/adf-extensions": "4.0.0",
"@alfresco/js-api": "4.0.0",
"@angular-custom-builders/lite-serve": "^0.2.2",
"@angular/animations": "10.0.4",
"@angular/cdk": "^10.0.2",
"@angular/common": "10.0.4",
"@angular/compiler": "10.0.4",
"@angular/core": "10.0.4",
"@angular/flex-layout": "^10.0.0-beta.32",
"@angular/forms": "10.0.4",
"@angular/material": "^10.0.2",
"@angular/material-moment-adapter": "^10.1.3",
"@angular/platform-browser": "10.0.4",
"@angular/platform-browser-dynamic": "10.0.4",
"@angular/router": "10.0.4",
"@mat-datetimepicker/core": "4.1.0",
"@mat-datetimepicker/moment": "4.1.0",
"@ngrx/effects": "^9.2.0",
"@ngrx/router-store": "^9.2.0",
"@ngrx/store": "^9.2.0",
"@ngrx/store-devtools": "^9.2.0",
"@ngx-translate/core": "^13.0.0",
"browser-sync": "^2.26.12",
"chalk": "^4.1.0",
"http-server": "^0.12.3",
"inquirer": "^7.3.3",
"minimatch-browser": "^1.0.0",
"moment": "^2.27.0",
"moment-es6": "1.0.0",
"ora": "^5.0.0",
"pdfjs-dist": "2.4.456",
"rxjs": "^6.6.2",
"tslib": "^2.0.1",
"winston": "^3.3.3",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@alfresco/adf-cli": "4.0.0",
"@alfresco/adf-testing": "4.0.0",
"@angular-devkit/build-angular": "~0.1000.8",
"@angular-devkit/build-ng-packagr": "~0.1000.8",
"@angular/cli": "^10.0.8",
"@angular/compiler-cli": "10.0.4",
"@angular/language-service": "10.0.14",
"@types/event-emitter": "^0.3.3",
"@types/jasmine": "3.5.14",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^14.6.0",
"@types/selenium-webdriver": "^4.0.9",
"@types/superagent": "^4.1.10",
"adf-tslint-rules": "0.0.7",
"ajv-cli": "^3.1.0",
"codelyzer": "^6.0.0",
"commander": "^6.0.0",
"cpr": "^3.0.1",
"cspell": "^4.1.0",
"dotenv": "^8.2.0",
"husky": "^4.2.5",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.2",
"protractor-screenshoter-plugin": "0.10.3",
"karma": "^5.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^4.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"karma-mocha-reporter": "^2.2.5",
"lint-staged": "^10.2.13",
"lite-server": "^2.4.0",
"ng-packagr": "^10.0.4",
"node-stream-zip": "^1.11.3",
"prettier": "^2.1.1",
"protractor": "^7.0.0",
"protractor-retry": "^1.2.13",
"protractor-retry-angular-cli": "^1.3.0",
"protractor-smartrunner": "^0.1.1",
"rxjs-tslint": "^0.1.8",
"rxjs-tslint-rules": "^4.34.1",
"selenium-webdriver": "^4.0.0-alpha.7",
"ts-node": "^9.0.0",
"tsconfig-paths": "3.9.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typescript": "3.9.7",
"wait-on": "^5.2.0",
"webdriver-manager": "12.1.7"
},
"lint-staged": {
"*.{ts,js,css,scss,html}": [
"prettier --single-quote --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}