-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
117 lines (117 loc) · 4.58 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
{
"name": "wch-site-application",
"dependencies": {
"@angular/animations": "^6.1.10",
"@angular/common": "^6.1.10",
"@angular/compiler": "^6.1.10",
"@angular/core": "^6.1.10",
"@angular/forms": "^6.1.10",
"@angular/http": "^6.1.10",
"@angular/platform-browser": "^6.1.10",
"@angular/platform-browser-dynamic": "^6.1.10",
"@angular/router": "^6.1.10",
"@ibm-wch-sdk/ng": "6.0.524",
"@ibm-wch-sdk/ng-api": "6.0.524",
"@ibm-wch-sdk/ng-edit": "6.0.524",
"@ibm-wch-sdk/utils": "6.0.524",
"@ibm-wch/components-ng-shared-components": "^1.0.61",
"@ibm-wch/components-ng-shared-utilities": "^1.0.39",
"@ngx-translate/core": "^10.0.1",
"@ngx-translate/http-loader": "^3.0.1",
"angular-svg-icon": "^6.0.0",
"classlist.js": "^1.1.20150312",
"core-js": "^2.4.1",
"dom-to-image": "^2.6.0",
"file-saver": "^1.3.8",
"foundation-sites": "6.4.3",
"ng2-logger": "2.0.35",
"rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",
"video.js": "^6.6.0",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.8.0",
"@angular/cli": "^6.2.4",
"@angular/compiler-cli": "^6.1.10",
"@angular/language-service": "^6.1.10",
"@ibm-wch-sdk/cli": "^7.2.608",
"@ibm-wch-sdk/schematics-utils": "6.0.524",
"@types/jasmine": "~3.3.16",
"@types/jasminewd2": "~2.0.6",
"@types/jquery": "^3.3.0",
"@types/node": "~6.0.60",
"babel-eslint": "^9.0.0",
"codelyzer": "~4.2.1",
"eslint": "^5.5.0",
"file-regex": "^2.3.0",
"fs-extra": "^6.0.1",
"husky": "^1.1.2",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.2.0",
"karma-chrome-launcher": "~3.0.0",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"lint-staged": "^7.2.2",
"node-minify": "^2.4.2",
"prettier": "1.14.2",
"protractor": "^5.4.2",
"replace-in-file": "^3.4.0",
"shelljs": "^0.7.8",
"source-map-explorer": "^1.5.0",
"tslint": "~5.9.1",
"typescript": "^2.9.2",
"wch-site-developer-tools": "latest",
"wchtools-cli": "^3"
},
"license": "MIT",
"private": true,
"scripts": {
"addPrefetch": "ibm-wch-sdk-cli add prefetch --script --data ./temp_data/ --src ./src/ ",
"build": "ng build --prod --output-hashing none --build-optimizer true",
"build-deploy": "npm run build && npm run deploy",
"build-deploy-code": "npm run build && npm run deploy-code",
"build-preload": " mkdir -p -m 777 temp_data && echo Pulling the site pages. Enter the user password for your WCH tenant: && wchtools pull -A --dir temp_data && npm run addPrefetch && rm -r temp_data && npm run build ",
"build-preload-windows": " mkdir temp_data && echo Pulling the site pages. Enter the user password for your WCH tenant: && wchtools pull -A --dir temp_data && npm run addPrefetch && rmdir /S /Q temp_data && npm run build ",
"crawling": "node scripts/transpileForCrawling.js",
"create-layout": "echo Pulling the content types. Enter the user password for your WCH tenant: && wchtools pull -tlm -I --dir src/wchLayouts && echo Creating the layout, layout mapping, and the angular component. && ibm-wch-sdk-cli create layout --data src/wchLayouts --src src/app --scss --flat --editable",
"createSite": "ibm-wch-sdk-cli create site --name testpage --data ./dist/ ",
"deploy": "wchtools push -A -f -v --publish-now --dir dist",
"deploy-code": "wchtools push -w -f -v -I --publish-now --dir dist",
"e2e": "protractor ./protractor.conf.js",
"install-layouts-from-folder": "node scripts/layoutsFromFolder.js ",
"install-layouts-from-git": "node scripts/layoutFromGit.js",
"install-layouts-from-zip": "node scripts/layoutsFromZip.js ",
"internal-bundle-public": "node scripts/bundle-for-public.js",
"lint": "ng lint",
"ng": "ng",
"postbuild": "node copyFiles.js && npm run crawling",
"prebuild": "node scripts/updateBuildDate.js",
"pree2e": "webdriver-manager update --gecko false",
"source-map-explorer": "node scripts/sourceMap.js",
"start": "ng serve",
"start-dev-tools": "node node_modules/wch-site-developer-tools/server/main.js",
"test": "ng test --watch=false",
"tsc": "tsc",
"update-app-module": "echo Pulling the content types. Enter the user password for your WCH tenant: && wchtools pull -tlm -I --dir src/wchLayouts && echo Updating the layout settings for new components. && ibm-wch-sdk-cli register layoutcomponents --src src/app --verbose"
},
"version": "0.0.0",
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{ts}": [
"prettier --write",
"tslint --fix",
"git add"
],
"*.{json,css,md}": [
"prettier --write",
"git add"
]
}
}