Skip to content

Remove prepare script in our projects #4296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"dev": "lerna run --parallel --scope @firebase/* --scope firebase --scope rxfire dev",
"build": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --scope rxfire --ignore @firebase/app-exp build",
"build:exp": "lerna run --scope @firebase/*-exp --scope @firebase/*-compat --scope firebase-exp build",
"build:release": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --scope rxfire --ignore @firebase/*-exp --ignore @firebase/*-compat prepare",
"build:exp:release": "yarn --cwd packages/app build:deps && lerna run --scope @firebase/*-exp --scope @firebase/*-compat --scope firebase-exp prepare && yarn --cwd packages-exp/app-exp typings:public",
"build:release": "lerna run --scope @firebase/app-exp build:deps && lerna run --scope @firebase/* --scope firebase --scope rxfire --ignore @firebase/*-exp --ignore @firebase/*-compat build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer need a build:exp:release script to build @firebase/app first?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we use this npm script as we use the exp release script when publishing. Is it useful for you?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to remove, just checking the history and it seems it was added in June last year because something was breaking: https://github.com/firebase/firebase-js-sdk/pull/3301/files Was this before exp release was built with the script?

"build:changed": "ts-node-script scripts/ci-test/build_changed.ts",
"link:packages": "lerna exec --scope @firebase/* --scope firebase --scope rxfire -- yarn link",
"stage:packages": "./scripts/prepublish.sh",
Expand Down
3 changes: 1 addition & 2 deletions packages-exp/app-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* src/**/*.test.ts --config ../../config/mocharc.node.js",
"prepare": "yarn build:release"
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* src/**/*.test.ts --config ../../config/mocharc.node.js"
},
"license": "Apache-2.0",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages-exp/app-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"test:all": "run-p test:browser test:node",
"test:browser": "karma start --single-run",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.ts --config ../../config/mocharc.node.js",
"prepare": "rollup -c rollup.config.release.js && yarn api-report",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
3 changes: 1 addition & 2 deletions packages-exp/auth-compat-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"test:all": "run-p test:browser test:node",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.* --config ../../config/mocharc.node.js",
"prepare": "yarn build:release"
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.* --config ../../config/mocharc.node.js"
},
"peerDependencies": {
"@firebase/app-compat": "0.x",
Expand Down
1 change: 0 additions & 1 deletion packages-exp/auth-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"test:browser:debug": "karma start --auto-watch",
"test:browser:unit:debug": "karma start --auto-watch --unit",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/!(platform_browser|platform_react_native)/**/*.test.ts' --file index.node.ts --config ../../config/mocharc.node.js",
"prepare": "rollup -c rollup.config.release.js",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
1 change: 0 additions & 1 deletion packages-exp/firebase-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"build:compat": "rollup -c compat/rollup.config.js",
"build:compat:release": "rollup -c compat/rollup.config.release.js",
"dev": "rollup -c -w",
"prepare": "yarn build:release",
"test": "echo 'No test suite for firebase wrapper'",
"test:ci": "echo 'No test suite for firebase wrapper'"
},
Expand Down
3 changes: 1 addition & 2 deletions packages-exp/functions-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
"test:emulator": "env FIREBASE_FUNCTIONS_HOST=http://localhost FIREBASE_FUNCTIONS_PORT=5005 run-p test:node",
"prepare": "yarn build:release"
"test:emulator": "env FIREBASE_FUNCTIONS_HOST=http://localhost FIREBASE_FUNCTIONS_PORT=5005 run-p test:node"
},
"typings": "dist/functions-compat-public.d.ts",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages-exp/functions-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
"test:emulator": "env FIREBASE_FUNCTIONS_EMULATOR_ORIGIN=http://localhost:5005 run-p test:node",
"prepare": "yarn build:release",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/functions-types-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"test": "tsc",
"test:ci": "node ../../scripts/run_tests_in_ci.js",
"prepare": "node ../../scripts/exp/remove-exp.js ./index.d.ts",
"build:release": "node ../../scripts/exp/remove-exp.js ./index.d.ts",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
1 change: 0 additions & 1 deletion packages-exp/installations-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"serve": "yarn serve:build && yarn serve:host",
"serve:build": "rollup -c test-app/rollup.config.js",
"serve:host": "http-server -c-1 test-app",
"prepare": "yarn build:release",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
1 change: 0 additions & 1 deletion packages-exp/installations-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"serve": "yarn serve:build && yarn serve:host",
"serve:build": "rollup -c test-app/rollup.config.js",
"serve:host": "http-server -c-1 test-app",
"prepare": "yarn build:release",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
1 change: 0 additions & 1 deletion packages-exp/messaging-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js",
"test:karma": "karma start --single-run",
"test:debug": "karma start --browsers=Chrome --auto-watch",
"prepare": "yarn build",
"api-report": "api-extractor run --local --verbose",
"type-check": "tsc --noEmit"
},
Expand Down
1 change: 0 additions & 1 deletion packages-exp/performance-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run",
"test:debug": "karma start --browsers=Chrome --auto-watch",
"prepare": "yarn build:release",
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
Expand Down
3 changes: 1 addition & 2 deletions packages-exp/remote-config-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"test:all": "run-p test:browser",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
"prepare": "yarn build:release"
"test:browser:debug": "karma start --browsers Chrome --auto-watch"
},
"license": "Apache-2.0",
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages-exp/remote-config-exp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"test:browser": "karma start --single-run",
"test:debug": "karma start --browsers=Chrome --auto-watch",
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
"prepare": "yarn build:release",
"api-report": "api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs",
Expand Down
3 changes: 1 addition & 2 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"test:all": "run-p test:browser test:integration",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run --nocache",
"test:integration": "karma start ./karma.integration.conf.js --single-run --nocache",
"prepare": "yarn build"
"test:integration": "karma start ./karma.integration.conf.js --single-run --nocache"
},
"peerDependencies": {
"@firebase/app": "0.x",
Expand Down
3 changes: 1 addition & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
"prepare": "yarn build"
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js"
},
"license": "Apache-2.0",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/buildtools/run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
cd "$(dirname $(dirname "$0"))"
# Go back to repo root and build all binaries needed for the demo app.
cd ../..
yarn prepare
yarn build:release
# Go back to Auth package.
cd packages/auth
# Make dist directory if not already there.
Expand Down
1 change: 0 additions & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"build:deps": "lerna run --scope @firebase/auth --include-dependencies build",
"demo": "./buildtools/run_demo.sh",
"generate-test-files": "./buildtools/generate_test_files.sh",
"prepare": "yarn build",
"serve": "yarn build && yarn generate-test-files && gulp serve",
"test": "yarn generate-test-files && ./buildtools/run_tests.sh",
"test:ci": "node ../../scripts/run_tests_in_ci.js"
Expand Down
3 changes: 1 addition & 2 deletions packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test:all": "run-p test:browser test:node",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.ts --config ../../config/mocharc.node.js",
"prepare": "yarn build"
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.ts --config ../../config/mocharc.node.js"
},
"dependencies": {
"@firebase/util": "0.3.4",
Expand Down
3 changes: 1 addition & 2 deletions packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"test:all": "run-p lint test:browser test:node",
"test:browser": "karma start --single-run",
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file index.node.ts --config ../../config/mocharc.node.js",
"test:emulator": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/database-test-runner.ts",
"prepare": "yarn build"
"test:emulator": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/database-test-runner.ts"
},
"license": "Apache-2.0",
"peerDependencies": {},
Expand Down
1 change: 0 additions & 1 deletion packages/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"build": "rollup -c",
"build:deps": "lerna run --scope firebase --include-dependencies build",
"dev": "rollup -c -w",
"prepare": "yarn build",
"test": "echo 'No test suite for firebase wrapper'",
"test:ci": "echo 'No test suite for firebase wrapper'"
},
Expand Down
1 change: 0 additions & 1 deletion packages/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"test:node:persistence:prod": "node ./scripts/run-tests.js --main=index.node.ts --persistence 'test/{,!(browser|lite)/**/}*.test.ts'",
"test:travis": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts",
"test:minified": "(cd ../../integration/firestore ; yarn test)",
"prepare": "yarn build:release",
"api-report": "rm -rf temp && api-extractor run --local --verbose",
"predoc": "node ../../scripts/exp/remove-exp.js temp",
"doc": "api-documenter markdown --input temp --output docs"
Expand Down
3 changes: 1 addition & 2 deletions packages/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file index.node.ts --config ../../config/mocharc.node.js",
"test:emulator": "env FIREBASE_FUNCTIONS_EMULATOR_ORIGIN=http://localhost:5005 run-p test:node",
"prepare": "yarn build"
"test:emulator": "env FIREBASE_FUNCTIONS_EMULATOR_ORIGIN=http://localhost:5005 run-p test:node"
},
"license": "Apache-2.0",
"peerDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions packages/installations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test:debug": "karma start --browsers=Chrome --auto-watch",
"serve": "yarn serve:build && yarn serve:host",
"serve:build": "rollup -c test-app/rollup.config.js",
"serve:host": "http-server -c-1 test-app",
"prepare": "yarn build"
"serve:host": "http-server -c-1 test-app"
},
"repository": {
"directory": "packages/installations",
Expand Down
3 changes: 1 addition & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test:all": "run-p test:browser test:node",
"test:browser": "karma start --single-run",
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
"prepare": "yarn build"
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions packages/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"test:integration": "test:karma && cd ../../integration/messaging && npm run-script test",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:karma",
"test:karma": "karma start --single-run",
"test:debug": "karma start --browsers=Chrome --auto-watch",
"prepare": "yarn build"
"test:debug": "karma start --browsers=Chrome --auto-watch"
},
"license": "Apache-2.0",
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run",
"test:debug": "karma start --browsers=Chrome --auto-watch",
"prepare": "yarn build",
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'"
},
"peerDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions packages/polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "echo 'No test suite for polyfills'",
"test:ci": "echo 'No test suite for polyfills'",
"prepare": "yarn build"
"test:ci": "echo 'No test suite for polyfills'"
},
"license": "Apache-2.0",
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions packages/remote-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run",
"test:debug": "karma start --browsers=Chrome --auto-watch",
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
"prepare": "yarn build"
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'"
},
"peerDependencies": {
"@firebase/app": "0.x",
Expand Down
3 changes: 1 addition & 2 deletions packages/rules-unit-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"dev": "rollup -c -w",
"test:nyc": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --config ../../config/mocharc.node.js",
"test": "firebase --project=foo --debug emulators:exec 'yarn test:nyc'",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test",
"prepare": "yarn build"
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test"
},
"license": "Apache-2.0",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/rxfire/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"build": "rollup -c",
"build:deps": "lerna run --scope rxfire --include-dependencies build",
"dev": "rollup -c -w",
"prepare": "yarn build",
"test": "run-p lint test:browser",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run",
Expand Down
1 change: 0 additions & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"test:browser:compat": "karma start --single-run --compat",
"test:browser:exp": "karma start --single-run --exp",
"test:browser": "karma start --single-run",
"prepare": "yarn build",
"prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"api-report": "api-extractor run --local --verbose"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:all": "run-p test:browser test:node",
"test:browser": "karma start --single-run",
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.* --config ../../config/mocharc.node.js",
"prepare": "yarn build"
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.* --config ../../config/mocharc.node.js"
},
"peerDependencies": {
"@firebase/app": "0.x",
Expand Down
3 changes: 1 addition & 2 deletions packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:all": "run-p test:browser test:node",
"test:browser": "karma start --single-run",
"test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",
"prepare": "yarn build"
"test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js"
},
"license": "Apache-2.0",
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/webchannel-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"scripts": {
"dev": "watch 'yarn build' src",
"build": "gulp",
"prepare": "yarn build",
"test": "echo 'No test suite for webchannel-wrapper'",
"test:ci": "echo 'No test suite for webchannel-wrapper'"
},
Expand Down
3 changes: 1 addition & 2 deletions repo-scripts/changelog-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"build": "tsc",
"build:dev": "tsc -w",
"test": "tsc -p . --noEmit",
"prepare": "yarn build"
"test": "tsc -p . --noEmit"
},
"dependencies": {
"@changesets/types": "3.2.0",
Expand Down
2 changes: 0 additions & 2 deletions scripts/exp/prepare-firestore-for-exp-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ export async function prepare() {

packageJson.typings = expPackageJson.typings.replace('../', '');

delete packageJson.scripts.prepare;

// include files to be published
packageJson.files = [
...packageJson.files,
Expand Down