Skip to content

Commit baa7bcc

Browse files
committed
build: refactor builder/lint/test system
1 parent dc66abe commit baa7bcc

File tree

11 files changed

+6485
-2108
lines changed

11 files changed

+6485
-2108
lines changed

.c8rc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"reporter": ["lcov", "text"]
2+
"reporter": ["lcov", "text"],
3+
"extension": [".js"]
34
}

.clintonrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"ignores": [],
3+
"rules": {
4+
"pkg-main": "off",
5+
"ava": "off",
6+
"xo": "off",
7+
"use-travis": "off"
8+
}
9+
}

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ quote_type = single
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
1111

12-
[{package.json,*.yml,*.jade,*.pss,*.css,*.js,*.md,.*,*.ts}]
12+
[{*.json,*.yaml,*.yml,*.jade,*.pss,*.css,*.js,*.md,.*,*.ts}]
1313
indent_size = 2
1414

1515
[{changelog.md,.*}]

.gitignore

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# OS
2-
.DS_Store
3-
._*
4-
5-
# NODEJS
61
node_modules
7-
npm-debug.log
8-
92
coverage
3+
.nyc_output
4+
npm-debug.log
5+
dist

.huskyrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"hooks": {
33
"pre-push": "npm t",
4-
"pre-commit": "lint-staged",
54
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
65
}
76
}

.npmignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules
2-
test
3-
npm-debug.log
4-
.editorconfig
2+
.gitignore
3+
.travis.yml
4+
coverage
5+
.nyc_output
6+
src

ava.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const config = {
2+
verbose: true,
3+
extensions: ['ts'],
4+
require: ['esm', 'esbuild-register']
5+
};
6+
7+
export default config;

0 commit comments

Comments
 (0)