Skip to content

Commit c2d6651

Browse files
update build artifact paths
1 parent 72f59a3 commit c2d6651

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
dist/
3-
types/
43
coverage/
54
node_modules/
65
config.yaml

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
!/README.md
99
!/package.json
1010
!/dist/**/*
11-
!/types/**/*

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
},
1818
"files": [
1919
"/dist/index.js",
20-
"/dist/index.js.map",
21-
"/types/**/*.d.ts"
20+
"/dist/index.mjs",
21+
"/dist/index.d.ts"
2222
],
2323
"scripts": {
2424
"test": "tsc -noEmit -p tsconfig-test.json && jest --useStderr --runInBand --detectOpenHandles",
2525
"build": "npm run lint && tsup src/index.ts --format cjs,esm --dts --clean --platform neutral",
2626
"prepack": "npm run build",
2727
"lint": "eslint --ext .ts,.js .",
2828
"lint:fix": "npm run lint -- --fix",
29-
"format": "prettier --write --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**' '!types/**'",
30-
"format:check": "prettier --check --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**' '!types/**'",
29+
"format": "prettier --write --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",
30+
"format:check": "prettier --check --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",
3131
"prepare": "husky install"
3232
},
3333
"repository": {

0 commit comments

Comments
 (0)