Skip to content

Commit abd60e6

Browse files
committed
chore: fix build and prepack scripts
1 parent 3b0bc6b commit abd60e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"jest": true
1515
},
1616
"scripts": {
17-
"build": "rollup -c && cheminfo-build --entry src/index.js --root GSD",
17+
"build": "npm run tsc-esm && cheminfo-build --entry lib-esm/index.js --root GSD",
1818
"check-types": "tsc --noEmit",
1919
"clean": "rimraf lib lib-esm",
2020
"example": "nodemon -w src -w examples/example.js -r esm examples/example.js",
2121
"eslint": "eslint src --cache",
2222
"eslint-fix": "npm run eslint -- --fix",
23-
"prepack": "npm run compile && npm run tsc",
23+
"prepack": "npm run tsc",
2424
"prettier": "prettier --check src",
2525
"prettier-write": "prettier --write src",
2626
"test": "npm run test-only && npm run eslint && npm run check-types",

0 commit comments

Comments
 (0)