Skip to content

Commit 2d34c10

Browse files
committed
script update
1 parent c5f0ef8 commit 2d34c10

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
"lint": "lerna run --scope @firebase/* --scope rxfire lint",
4949
"size-report": "node scripts/report_binary_size.js",
5050
"api-report": "lerna run --scope @firebase/*-exp api-report",
51-
"docgen:exp": "node scripts/exp/docgen.js"
51+
"docgen:exp": "node scripts/exp/docgen.js",
52+
"postinstall": "yarn --cwd repo-scripts/changelog-generator build"
5253
},
5354
"repository": {
5455
"type": "git",

repo-scripts/changelog-generator/package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@firebase/changelog-generator",
33
"version": "0.1.0",
44
"private": true,
5-
"description": "A template package for new firebase packages",
5+
"description": "A package for generating changelog",
66
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
77
"main": "dist/index.js",
88
"files": [
@@ -13,11 +13,7 @@
1313
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
1414
"build": "tsc",
1515
"build:dev": "tsc -w",
16-
"test": "yarn type-check && run-p lint test:browser test:node",
17-
"test:ci": "node ../../scripts/run_tests_in_ci.js",
18-
"test:browser": "karma start --single-run",
19-
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha src/**/*.test.* --config ../../config/mocharc.node.js",
20-
"type-check": "tsc -p . --noEmit",
16+
"test": "yarn type-check",
2117
"prepare": "yarn build"
2218
},
2319
"dependencies": {
@@ -28,12 +24,10 @@
2824
},
2925
"license": "Apache-2.0",
3026
"devDependencies": {
31-
"rollup": "2.21.0",
32-
"rollup-plugin-typescript2": "0.27.1",
3327
"typescript": "3.9.6"
3428
},
3529
"repository": {
36-
"directory": "packages/template",
30+
"directory": "repo-scripts/changelog-generator",
3731
"type": "git",
3832
"url": "https://github.com/firebase/firebase-js-sdk.git"
3933
},

0 commit comments

Comments
 (0)