Skip to content

Commit 522e38e

Browse files
update cjs folder name
1 parent ec42650 commit 522e38e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/feature-management/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"build": "npm run clean && rollup --config && npm run build-test",
1717
"build-test": "npm run build-test-esm && npm run build-test-cjs",
1818
"build-test-esm": "tsc -p ./tsconfig.test.esm.json",
19-
"build-test-cjs": "tsc -p ./tsconfig.test.cjs.json && cpy cjs-package.json out/cjs --rename=package.json",
19+
"build-test-cjs": "tsc -p ./tsconfig.test.cjs.json && cpy cjs-package.json out/commonjs --rename=package.json",
2020
"clean": "rimraf dist out types",
2121
"dev": "rollup --config --watch",
2222
"lint": "eslint src/ test/ --ignore-pattern test/browser/testcases.js",
2323
"fix-lint": "eslint src/ test/ --fix --ignore-pattern test/browser/testcases.js",
24-
"test": "mocha out/esm/test/*.test.js out/cjs/test/*.test.js --parallel",
24+
"test": "mocha out/esm/test/*.test.js out/commonjs/test/*.test.js --parallel",
2525
"test-browser": "npx playwright install chromium && npx playwright test"
2626
},
2727
"repository": {

src/feature-management/tsconfig.test.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"module": "CommonJS",
5-
"outDir": "./out/cjs"
5+
"outDir": "./out/commonjs"
66
},
77
"include": [
88
"test/*"

0 commit comments

Comments
 (0)