Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit de871be

Browse files
authored
feat: added a publish script (#6)
* chore: added standard npm file * refactor: simplified the prepublish process
1 parent 59033be commit de871be

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.npmignore

Whitespace-only changes.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"access": "public"
2424
},
2525
"scripts": {
26-
"prepublish": "npm install node-sass && npm install node-sass-glob-importer && node-sass --importer node_modules/node-sass-glob-importer/dist/cli.js -o dist/css dist/css/style.scss"
26+
"prepublish": "node-sass --importer node_modules/node-sass-glob-importer/dist/cli.js -o dist/css dist/css/style.scss",
27+
"publish": "npx np"
2728
},
2829
"dependencies": {
2930
"node-sass": "^6.0.1",

0 commit comments

Comments
 (0)