Skip to content

Commit a426aac

Browse files
jeffbcrossdavideast
authored andcommitted
chore: cleanup some no-longer used npm scripts (#379)
1 parent 35e8583 commit a426aac

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"main": "./dist/angularfire2.js",
66
"jsnext:main": "./dist/esm/angularfire2.js",
77
"scripts": {
8-
"test": "npm run build; karma start",
9-
"docs": "typedoc --out docs/api/ --module commonjs --mode modules --name AngularFire2 src",
8+
"test": "npm run build; karma start --single-run",
9+
"test:watch": "karma start",
1010
"build": "rm -rf dist; tsc",
11+
"build:watch": "rm -rf dist && tsc -w",
1112
"build_npm": "rm -rf dist && tsc -p tsconfig.publish.es5.json && tsc -p tsconfig.publish.es6.json && tsc -p tsconfig.publish.es6-deprecated.json",
1213
"postbuild_npm": "cp manual_typings/firebase3/firebase3.d.ts package.json README.md .npmignore dist/ && npm run rewrite_npm_package",
1314
"rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js",
14-
"build_bundle": "cp -r src angularfire2 && tsc typings/main.d.ts angularfire2.ts --rootDir . --module system -t es5 --outFile dist/bundles/angularfire2.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators",
1515
"e2e_test": "webdriver-manager update && npm run build_e2e && protractor",
1616
"build_e2e": "rm -rf dist-test && npm run build && tsc -p test/ && cp test/e2e/firebase_object/index.html dist-test/e2e/firebase_object/ && cp test/e2e/firebase_list/index.html dist-test/e2e/firebase_list/ && cp test/e2e/auth/index.html dist-test/e2e/auth/",
1717
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1"

src/angularfire2.ts

-5
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,3 @@ export {
113113

114114
export { FirebaseConfig, FirebaseApp, FirebaseAuthConfig, FirebaseRef, FirebaseUrl } from './tokens';
115115
export { FirebaseAppConfig } from './interfaces';
116-
117-
// Helps Angular-CLI automatically add providers
118-
export default {
119-
providers: FIREBASE_PROVIDERS
120-
}

0 commit comments

Comments
 (0)