Skip to content

Commit 52eb417

Browse files
chore: use .jsx for jsx files
1 parent 663dbb8 commit 52eb417

File tree

11 files changed

+25654
-25654
lines changed

11 files changed

+25654
-25654
lines changed

package-lock.json

Lines changed: 25650 additions & 25650 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact",
3535
"copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
3636
"test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run test:mocha:debug && npm run bench",
37-
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js",
38-
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/*.test.js'",
39-
"test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js'",
40-
"format": "prettier src/**/*.{d.ts,js} test/**/*.js --write",
37+
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js test/*.test.jsx",
38+
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/*.test.js' 'test/compat/*.test.jsx'",
39+
"test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js' 'test/debug/index.test.jsx'",
40+
"format": "prettier src/**/*.{d.ts,js,jsx} test/**/*.js test/**/*.jsx --write",
4141
"prepublishOnly": "npm run build",
4242
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
4343
},
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)