-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(all): adds editor config, husky, eslint, .md
- Loading branch information
1 parent
b804e49
commit 3575bb5
Showing
8 changed files
with
637 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
extends: [ | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
rules: { | ||
|
||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
semi: true, | ||
trailingComma: "all", | ||
singleQuote: true, | ||
printWidth: 120, | ||
tabWidth: 4 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"types": [ | ||
{"type": "feat", "section": "New features"}, | ||
{"type": "fix", "section": "Bug fixes"}, | ||
{"type": "docs", "section": "Documentation"}, | ||
{"type": "refactor", "section": "Code refactor"}, | ||
{"type": "perf", "section": "Performance improvements"}, | ||
{"type": "test", "section": "Unit tests"} | ||
] | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Typescript skeleton library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,6 @@ | |
"name": "@adso/ts-skeleton", | ||
"version": "1.0.0", | ||
"description": "Skeleton for typescript util libraries", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"typings": "./dist/types/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "yarn tsc", | ||
"build:watch": "yarn tsc -w", | ||
"test": "jest", | ||
"tdd": "jest --watchAll", | ||
"tslint": "tslint 'src/**/*.ts'", | ||
"tsc": "tsc --module commonjs", | ||
"release": "standard-version --release-as patch" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:adam-sokolowski/ts-skeleton.git" | ||
|
@@ -29,14 +14,44 @@ | |
"utils", | ||
"skeleton" | ||
], | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"typings": "./dist/types/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "tsc --module commonjs", | ||
"build:watch": "yarn build -w", | ||
"test": "jest", | ||
"test:watch": "jest --watchAll", | ||
"lint": "tsc --noEmit && eslint '*/**/*.ts' --quiet --fix", | ||
"release:patch": "standard-version --release-as patch", | ||
"release:minor": "standard-version --release-as minor", | ||
"reset:githooks": "rm -rf ./.git/hooks/* && rm -rf node_modules/husky && yarn install --check-files" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": [ | ||
"yarn lint" | ||
], | ||
"pre-push": [ | ||
"yarn test" | ||
] | ||
} | ||
}, | ||
"author": "Adam Sokołowski <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^25.1.4", | ||
"jest": "^25.2.4", | ||
"standard-version": "^7.1.0", | ||
"ts-jest": "^25.3.0", | ||
"tslib": "^1.11.1", | ||
"typescript": "^3.8.3" | ||
"@types/jest": "~25.1.0", | ||
"@typescript-eslint/eslint-plugin": "~2.26.0", | ||
"@typescript-eslint/parser": "~2.26.0", | ||
"eslint": "~6.8.0", | ||
"husky": "^4.2.3", | ||
"jest": "~25.2.0", | ||
"standard-version": "~7.1.0", | ||
"ts-jest": "~25.3.0", | ||
"tslib": "~1.11.0", | ||
"typescript": "~3.8.0" | ||
} | ||
} |
Oops, something went wrong.