Skip to content

Commit 7f3cafc

Browse files
committed
Setting up wireit
1 parent 7a8fe4a commit 7f3cafc

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ npm-debug.log
88
/dist/
99
/lib/
1010
.sfdx/
11+
.wireit/
1112

1213
# Added by Illuminated Cloud
1314
.localdev/
@@ -16,4 +17,4 @@ npm-debug.log
1617
target/
1718
/.illuminatedCloud/
1819
**/tsconfig*.json
19-
**/*.tsbuildinfo
20+
**/*.tsbuildinfo

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"apexdocs": "./dist/cli/generate.js"
2020
},
2121
"scripts": {
22-
"test": "npm run build && jest",
22+
"test": "wireit",
2323
"test:cov": "npm run build && jest --coverage",
2424
"build": "wireit",
2525
"lint": "wireit",
@@ -31,8 +31,7 @@
3131
"lint": {
3232
"command": "eslint \"./src/**/*.{js,ts}\" --quiet --fix",
3333
"files": [
34-
"src/**/*.ts",
35-
"src/**/*.js"
34+
"src/**/*.ts"
3635
],
3736
"output": []
3837
},
@@ -48,6 +47,16 @@
4847
"output": [
4948
"dist"
5049
]
50+
},
51+
"test": {
52+
"command": "jest",
53+
"dependencies": [
54+
"build"
55+
],
56+
"files": [
57+
"src/**/*.ts"
58+
],
59+
"output": []
5160
}
5261
},
5362
"author": "Cesar Parra",

0 commit comments

Comments
 (0)