Skip to content

Commit 0950c9b

Browse files
update package.json script
1 parent 5a58588 commit 0950c9b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"name": "dev-javascript",
2525
"email": "javascript.code.dev@gmail.com"
2626
},
27-
"main": "src/index.js",
28-
"module": "src/index.js",
27+
"main": "lib/cjs/index.js",
28+
"module": "lib/esm/index.js",
2929
"repository": {
3030
"type": "git",
3131
"url": "git+https://github.com/dev-javascript/react-custom-search-list.git"
@@ -38,7 +38,7 @@
3838
"watch": "set NODE_OPTIONS=--openssl-legacy-provider & run-p watch:*",
3939
"watch:js": "cross-env WATCH=true npm run build:dist:dev",
4040
"watch:scss": "sass --watch style/scss:style --no-source-map",
41-
"build": "set NODE_OPTIONS=--openssl-legacy-provider & npm-run-all --parallel clean:* build:lib:* --parallel build:dist:*",
41+
"build": "set NODE_OPTIONS=--openssl-legacy-provider & npm-run-all --parallel clean:* build:lib:* build:scss:* --parallel build:dist:*",
4242
"build:dist:prod": "rollup -c",
4343
"build:dist:dev": "webpack --config webpack.config.js --env=development",
4444
"build:lib:cjs": "cross-env BABEL_OUTPUT=cjs babel src/ --out-dir lib/cjs/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",

style/react-custom-search-list.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)