Skip to content

Commit ecdbf8e

Browse files
committed
Remove redundant postinstall and postupdate scripts from package.json
1 parent 2581b47 commit ecdbf8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
"build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json",
4545
"build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json",
4646
"husky-check": "npm run build && husky && chmod +x .husky/pre-commit",
47-
"prerelease": "npm run test:all && npm run validate:all",
48-
"postinstall": "curl -s --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o src/assets/regions.json || echo 'Warning: Failed to download regions.json'",
49-
"postupdate": "curl -s --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o src/assets/regions.json || echo 'Warning: Failed to download regions.json'"
47+
"prerelease": "npm run test:all && npm run validate:all"
5048
},
5149
"dependencies": {
5250
"@contentstack/core": "^1.3.6",

0 commit comments

Comments
 (0)