Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
asamuzaK committed Dec 14, 2024
1 parent 077a381 commit 1a17ad4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"type": "module",
"exports": {
"import": "./src/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/dom-selector.min.cjs"
},
"types": "types/index.d.ts",
"dependencies": {
Expand Down Expand Up @@ -56,8 +56,8 @@
"scripts": {
"bench": "node benchmark/bench.js",
"bench-sizzle": "node benchmark/bench-sizzle.js",
"build": "npm run tsc && npm run lint && npm test && npm run compat",
"compat": "esbuild --format=cjs --platform=node --outdir=dist/cjs/ --minify --sourcemap src/**/*.js",
"build": "npm run tsc && npm run lint && npm test && npm run bundle",
"bundle": "esbuild --format=cjs --platform=node --outfile=dist/cjs/dom-selector.min.cjs --bundle --minify --sourcemap src/index.js",
"lint": "eslint --fix .",
"test": "c8 --reporter=text mocha --exit test/**/*.test.js",
"test-wpt": "node test/wpt/wpt-runner.js",
Expand Down

0 comments on commit 1a17ad4

Please sign in to comment.