|
42 | 42 | "test-core": "echo Starting core tests ... && karma start test/core_tests.conf",
|
43 | 43 | "pretest-mode": "npm run build && npm run build-cwc-main-debug",
|
44 | 44 | "test-mode": "echo Starting mode tests ... && karma start test/mode_tests.conf",
|
45 |
| - "prebuild-cwc-soy": "npm run clean-soy_files", |
| 45 | + "prebuild-chrome-app": "npm run clean-chrome_app", |
| 46 | + "prebuild-chrome-app-debug": "npm run clean-chrome_app", |
| 47 | + "prebuild-core": "npm run clean-core", |
46 | 48 | "prebuild-cwc-gss": "npm run clean-gss_files",
|
| 49 | + "prebuild-cwc-soy": "npm run clean-soy_files", |
| 50 | + "prebuild-nw_app": "npm run clean-nw_app", |
| 51 | + "prebuild-nw_app-debug": "npm run clean-nw_app", |
| 52 | + "prebuild-third_party": "npm run clean-third_party", |
| 53 | + "prebuild-web_app": "npm run clean-web_app", |
| 54 | + "prebuild-web_app-debug": "npm run clean-web_app", |
| 55 | + "prepublish-nw_app-linux": "npm run clean-nw_app-linux", |
| 56 | + "prepublish-nw_app-mac": "npm run clean-nw_app-mac", |
| 57 | + "prepublish-nw_app-win": "npm run clean-nw_app-win", |
| 58 | + "build": "npm run build-third_party && npm run build-core", |
| 59 | + "build-chrome_app": "node build/app/chrome_app.js", |
| 60 | + "build-chrome_app_debug": "node build/app/chrome_app_debug.js", |
| 61 | + "build-core": "npm run build-cwc-deps", |
47 | 62 | "build-cwc": "npm run build-cwc-deps && npm run build-cwc-main",
|
48 | 63 | "build-cwc-blocks": "node build/cwc/blocks.js",
|
49 | 64 | "build-cwc-debug": "npm run build-cwc-deps && npm run build-cwc-main-debug",
|
|
62 | 77 | "build-external-frameworks": "node build/external/frameworks.js",
|
63 | 78 | "build-external-static": "node build/external/static_files.js",
|
64 | 79 | "build-framework-files": "npm run build-external-frameworks && npm run build-cwc-frameworks",
|
65 |
| - "prebuild-core": "npm run clean-core", |
66 |
| - "prebuild-chrome-app": "npm run clean-chrome_app", |
67 |
| - "prebuild-chrome-app-debug": "npm run clean-chrome_app", |
68 |
| - "prebuild-nw_app": "npm run clean-nw_app", |
69 |
| - "prebuild-nw_app-debug": "npm run clean-nw_app", |
70 |
| - "prebuild-web_app": "npm run clean-web_app", |
71 |
| - "prebuild-web_app-debug": "npm run clean-web_app", |
72 |
| - "build": "npm run build-third_party && npm run build-core", |
73 |
| - "build-chrome_app": "node build/app/chrome_app.js", |
74 |
| - "build-chrome_app_debug": "node build/app/chrome_app_debug.js", |
75 |
| - "build-core": "npm run build-cwc-deps", |
76 | 80 | "build-nw_app": "npm run clean-nw_app && node build/app/nw_app.js",
|
77 | 81 | "build-nw_app_debug": "npm run clean-nw_app && node build/app/nw_app_debug.js",
|
78 | 82 | "build-third_party": "npm run clean-third_party && npm run build-external-frameworks && npm run build-external-extra && npm run build-external-static",
|
79 | 83 | "build-web_app": "npm run clean-web_app && node build/app/web_app.js",
|
80 | 84 | "publish-chrome_app": "npm run build-chrome_app",
|
81 | 85 | "publish-nw_app": "npm run publish-nw_app-win && npm run publish-nw_app-mac && npm run publish-nw_app-linux",
|
82 |
| - "publish-nw_app-win": "nwbuild --platforms win --buildDir genfiles/ dist/nw_app/", |
83 |
| - "publish-nw_app-mac": "nwbuild --platforms osx64 --buildDir genfiles/ dist/nw_app/", |
84 |
| - "publish-nw_app-linux": "nwbuild --platforms linux --buildDir genfiles/ dist/nw_app/", |
| 86 | + "publish-nw_app-linux": "nwbuild --platforms linux --buildDir dist/ dist/nw_app/", |
| 87 | + "publish-nw_app-mac": "nwbuild --platforms osx64 --buildDir dist/ dist/nw_app/", |
| 88 | + "publish-nw_app-win": "nwbuild --platforms win --buildDir dist/ dist/nw_app/", |
85 | 89 | "chrome-app": "npm run build-core && npm run build-cwc-main && npm run build-chrome_app && npm run launch",
|
86 | 90 | "chrome-app-debug": "npm run build-core && npm run build-cwc-main-debug && npm run build-chrome_app && npm run launch",
|
87 | 91 | "nw-app": "npm run build-core && npm run build-cwc-main && npm run build-nw_app && npm run launch-nw",
|
|
95 | 99 | "launch-web": "http-server dist/web_app",
|
96 | 100 | "launch-win": "echo && \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" --load-and-launch-app=%CD%\\dist\\chrome_os --enable-logging --v=1 --no-first-run --enable-experimental-web-platform-features",
|
97 | 101 | "clean": "npm run clean-npm && npm run clean-chrome_app && npm run clean-core && npm run clean-soy_files && npm run clean-test && npm run clean-third_party",
|
| 102 | + "clean-build": "npm run clean && npm run build", |
98 | 103 | "clean-chrome_app": "echo Cleaning up Chrome app dist files. Please wait ... && rimraf dist/chrome_os/*",
|
99 | 104 | "clean-core": "echo Cleaning up core genfiles. Please wait ... && rimraf genfiles/core/*",
|
100 | 105 | "clean-gss_files": "echo Cleaning gss genfiles. Please wait ... && rimraf genfiles/core/css/editor.css",
|
101 | 106 | "clean-npm": "echo Cleaning up npm files. Please wait ... && npm prune",
|
| 107 | + "clean-nw_app": "echo Cleaning up NW.js app dist files. Please wait ... && rimraf dist/nw_app/* && rimraf dist/binary/*", |
| 108 | + "clean-nw_app-linux": "echo Cleaning up NW.js Linux app. Please wait ... && rimraf dist/binary/linux32 && rimraf dist/binary/linux64", |
| 109 | + "clean-nw_app-mac": "echo Cleaning up NW.js Mac app. Please wait ... && rimraf dist/binary/osx64", |
| 110 | + "clean-nw_app-win": "echo Cleaning up NW.js Win app. Please wait ... && rimraf dist/binary/win32 && rimraf dist/binary/win64", |
102 | 111 | "clean-soy_files": "echo Cleaning up soy genfiles. Please wait ... && rimraf gensoyfiles/*",
|
103 | 112 | "clean-test": "echo Cleaning up test genfiles. Please wait ... && rimraf test/genfiles/*",
|
104 | 113 | "clean-third_party": "echo Cleaning up third_party genfiles. Please wait ... && rimraf genfiles/third_party/*",
|
105 |
| - "clean-nw_app": "echo Cleaning up NW.js app dist files. Please wait ... && rimraf dist/nw_app/*", |
106 | 114 | "clean-web_app": "echo Cleaning up Web app dist files. Please wait ... && rimraf dist/web_app/*",
|
107 |
| - "clean-build": "npm run clean && npm run build", |
108 | 115 | "documentation": "jsdoc src -r -c documentation.json -d docs",
|
109 | 116 | "deploy": "npm test && git push",
|
110 | 117 | "lint": "eslint .",
|
|
0 commit comments