Skip to content

Commit e69aa32

Browse files
committed
improve config
1 parent 7e396cb commit e69aa32

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ charset = utf-8
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11+
[package.json]
12+
indent_style = space
13+
1114
[*.md]
1215
indent_style = space
1316
trim_trailing_whitespace = false

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"types": "dist/index.d.ts",
77
"scripts": {
88
"build": "tsc",
9-
"test": "npm run build && node test"
9+
"test": "npm run build && node test",
10+
"preversion": "npm test",
11+
"prepare": "npm run build"
1012
},
1113
"author": "Simon Haenisch (https://github.com/simonhaenisch)",
1214
"repository": "simonhaenisch/rollup-plugin-typescript-paths",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
"noImplicitReturns": true,
1313
"noFallthroughCasesInSwitch": true,
1414
"esModuleInterop": true
15-
}
15+
},
16+
"files": ["index.ts"]
1617
}

0 commit comments

Comments
 (0)