Skip to content

Commit aeab408

Browse files
committed
chore(2.0): replace template placeholders in npm scripts
1 parent 6fe5f95 commit aeab408

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"scripts": {
1717
"dev": "webpack --mode development --watch",
1818
"build": "webpack --mode production",
19-
"analyze": "cross-env ANALYZER=true <%= params.jsPackageManager %> run build",
19+
"analyze": "cross-env ANALYZER=true npm run build",
2020
"format": "prettier --write src",
2121
"format-check": "prettier --check src",
2222
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
23-
"build-typings": "<%= params.jsPackageManager %> run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && <%= params.jsPackageManager %> run post-build-typings",
23+
"build-typings": "npm run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && npm run post-build-typings",
2424
"post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'",
2525
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
2626
"check-typings-coverage": "typescript-coverage-report"

0 commit comments

Comments
 (0)