Merge "Simplify npm scripts"

This commit is contained in:
Kean Mariotti
2023-01-20 16:08:35 +00:00
committed by Android (Google) Code Review

View File

@@ -14,12 +14,10 @@
"build:kotlin": "rm -rf kotlin_build && npx kotlinc-js -source-map -source-map-embed-sources always -module-kind commonjs -output kotlin_build/flicker.js ../../../platform_testing/libraries/flicker/src/com/android/server/wm/traces/common",
"build:prod": "webpack --config webpack.config.prod.js --progress",
"build:remote_tool_mock": "webpack --config src/test/remote_tool_mock/webpack.config.js --progress",
"build:unit": "webpack --config webpack.config.unit_test.js",
"build:e2e": "rm -rf dist/e2e_test && npx tsc -p ./src/test/e2e",
"build:all": "npm run build:kotlin && npm run build:prod && npm run build:remote_tool_mock && npm run build:unit && npm run build:e2e",
"test:unit": "jasmine dist/unit_test/bundle.js",
"build:all": "npm run build:kotlin && npm run build:prod && npm run build:remote_tool_mock",
"test:unit": "webpack --config webpack.config.unit_test.js && jasmine dist/unit_test/bundle.js",
"test:component": "npx karma start",
"test:e2e": "npx protractor protractor.config.js",
"test:e2e": "rm -rf dist/e2e_test && npx tsc -p ./src/test/e2e && npx protractor protractor.config.js",
"test:all": "npm run test:unit && npm run test:component && npm run test:e2e && npm run format:check && npm run tslint:check && npm run eslint:check && npm run deps_graph:check_cycles"
},
"private": true,