Skip to content

Commit 2f67bdf

Browse files
committed
debug: run compile as part of prepare
1 parent 55a7bd3 commit 2f67bdf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"types": "./index.d.ts",
3131
"scripts": {
32-
"prepublishOnly": "npm run compile",
32+
"prepare": "npm run compile",
3333
"compile": "tsc -p tsconfig.json && api-extractor run && rimraf 'dist/**/*.d.ts*' && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
3434
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
3535
"eslint": "eslint",
@@ -43,9 +43,7 @@
4343
"test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
4444
"test-watch": "npm run test -- --watch",
4545
"test-ci": "npm run test-cov",
46-
"reformat": "npm run prettier -- --write . && npm run eslint . -- --fix",
47-
"prepare": "husky install || true",
48-
"precommit": "precommit"
46+
"reformat": "npm run prettier -- --write . && npm run eslint . -- --fix"
4947
},
5048
"devDependencies": {
5149
"@microsoft/api-extractor": "^7.52.8",

0 commit comments

Comments
 (0)