Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (71 loc) · 4.11 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (71 loc) · 4.11 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
{
"name": "coding-with-chrome",
"description": "Coding with Chrome",
"version": "3.7.23",
"author": "Markus Bordihn (mbordihn@google.com)",
"license": "Apache-2.0",
"private": true,
"dependencies": {
"closure-builder": "^2.0.16",
"jsdoc": "^3.4.0",
"rimraf": "^2.5.4"
},
"devDependencies": {
"closure-templates": "latest",
"eslint": "latest",
"google-closure-library": "latest",
"jasmine-core": "latest",
"karma": "latest",
"karma-chrome-launcher": "latest",
"karma-closure": "latest",
"karma-jasmine": "latest",
"karma-es6-preprocessor": "latest",
"npm-check-updates": "latest"
},
"scripts": {
"test": "npm run test-soy && npm run test-units && npm run test-core",
"pretest": "npm run lint",
"test-soy": "echo Starting soy tests ... && karma start test/soy_tests.conf",
"pretest-soy" : "node build/test/soy_files.js",
"test-units": "echo Starting unit tests ... && karma start test/unit_tests.conf",
"pretest-units": "node build/test/unit_files.js",
"test-core": "echo Starting core tests ... && karma start test/core_tests.conf",
"pretest-core": "npm run build",
"test-file-mac": "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --load-and-launch-app=$PWD/genfiles/ --enable-logging --v=1 --no-first-run $PWD/resources/examples/html5/Basic-formular.cwc",
"build": "npm run build-external && npm run build-cwc",
"build-debug": "npm run lint && npm run build-external && npm run build-cwc-debug",
"build-cwc": "npm run build-cwc-deps && npm run build-cwc-main",
"build-cwc-debug": "npm run build-cwc-deps && npm run build-cwc-main-debug",
"build-cwc-deps": "npm run build-cwc-app && npm run build-cwc-blocks && npm run build-cwc-frameworks && npm run build-cwc-soy && npm run build-cwc-static",
"build-cwc-app": "node build/cwc/app.js",
"build-cwc-blocks": "node build/cwc/blocks.js",
"build-cwc-frameworks": "node build/cwc/frameworks.js",
"build-cwc-main": "node build/cwc/main.js",
"build-cwc-main-debug": "node build/cwc/main-debug.js",
"build-cwc-soy": "node build/cwc/soy.js",
"build-cwc-static": "node build/cwc/static_files.js",
"build-external": "npm run build-external-frameworks && npm run build-external-extra && npm run build-external-static",
"build-external-frameworks": "node build/external/frameworks.js",
"build-external-extra": "node build/external/extra_files.js",
"build-external-static": "node build/external/static_files.js",
"build-framework-files": "npm run build-external-frameworks && npm run build-cwc-frameworks",
"app": "npm run clean-genfiles && npm run build && npm run launch",
"debug": "npm run clean-genfiles && npm run build-debug && npm run launch",
"fast-build": "npm run build && npm run launch",
"rebuild": "npm run build-cwc-main",
"fast-rebuild": "npm run rebuild && npm run launch",
"launch": "echo Lauching app. Please wait ... && npm run launch-linux --silent || npm run launch-mac --silent || npm run launch-win --silent",
"launch-linux": "google-chrome --load-and-launch-app=$PWD/genfiles/ --enable-logging --v=1 --no-first-run",
"launch-mac": "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --load-and-launch-app=$PWD/genfiles/ --enable-logging --v=1 --no-first-run",
"launch-win": "echo && \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" --load-and-launch-app=%CD%\\genfiles --enable-logging --v=1 --no-first-run",
"clean": "npm run clean-npm && npm run clean-genfiles",
"clean-npm": "echo Cleaning up npm files. Please wait ... && npm prune",
"clean-genfiles": "echo Cleaning up genfiles. Please wait ... && rimraf genfiles/* && rimraf test/genfiles/* && rimraf gensoyfiles/*",
"clean-build": "npm run clean && npm run build",
"documentation": "jsdoc src -r -c documentation.json -d docs",
"lint": "eslint .",
"show-updates": "ncu",
"sync": "echo Syncing. Please wait ... && git pull && git submodule init && git submodule update && npm run update",
"update": "npm run clean && ncu -u -a && npm install && npm update -a && npm test"
}
}