Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
"extends": [
'./node_modules\\dts-cli\\conf\\eslint-config-react-app\\index.js',
'./node_modules\\eslint-config-prettier\\index.js',
'plugin:prettier/recommended',
],
settings: {
react: {
version: '999.999.999',
},
},
}
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"test:hil": "tsdx test --testMatch '<rootDir>/hiltest/*.ts'",
"lint": "tsdx lint",
"prepare": "tsdx build"
"start": "dts watch",
"build": "dts build",
"test": "dts test",
"test:hil": "dts test --testMatch '<rootDir>/hiltest/*.ts'",
"lint": "dts lint src test hiltest",
"prepare": "dts build"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
"pre-commit": "dts lint src test hiltest"
}
},
"prettier": {
Expand All @@ -38,13 +37,13 @@
"devDependencies": {
"@types/jest": "^27.5.0",
"@types/node": "^17.0.31",
"husky": "^7.0.4",
"tsdx": "^0.14.1",
"dts-cli": "^2.0.5",
"husky": "^9.1.4",
"tslib": "^2.4.0",
"typescript": "^4.6.4"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.1.5",
"**/@typescript-eslint/parser": "^4.1.5"
"**/@typescript-eslint/eslint-plugin": "^5.0.0",
"**/@typescript-eslint/parser": "^5.0.0"
}
}
Loading