Skip to content

Commit dafe1aa

Browse files
chore(package): add scripts to remove dependencies, properties from package.json, and unnecessary files. Bring back npm registry.
1 parent ab56c9b commit dafe1aa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"license": "MIT",
99
"publishConfig": {
1010
"access": "public",
11-
"registry": "https://npm.pkg.github.com"
11+
"registry": "https://registry.npmjs.org"
1212
},
1313
"devDependencies": {
1414
"stylelint": "^15.10.3",
@@ -19,7 +19,12 @@
1919
"peerDependencies": {
2020
"sass": "^1.78.0"
2121
},
22-
"scripts": {},
22+
"scripts": {
23+
"prepublishOnly": "npm install rimraf && npm run pkg && npm run clean",
24+
"pkg": "npm pkg delete module es2020 esm2020 fesm2020 fesm2015 typings exports dependencies",
25+
"clean": "./node_modules/rimraf/dist/esm/bin.mjs ./esm2020 ./fesm2015 ./fesm2020 ./index.d.ts ./public-api.d.ts ./node_modules",
26+
"sass": "./node_modules/sass/sass.js"
27+
},
2328
"repository": {
2429
"type": "git",
2530
"url": "git+https://github.com/angular-package/sass-string.git"

0 commit comments

Comments
 (0)