test: add Node test suite and pre-commit hook
This commit is contained in:
@@ -5,12 +5,16 @@
|
||||
"devDependencies": {
|
||||
"@opencode-ai/plugin": "*",
|
||||
"@types/node": "*",
|
||||
"husky": "^9.1.7",
|
||||
"typescript": "*"
|
||||
},
|
||||
"dependencies": {
|
||||
"envsitter": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"typecheck": "tsc -p tsconfig.json"
|
||||
"typecheck": "tsc -p tsconfig.json",
|
||||
"build:test": "tsc -p tsconfig.test.json",
|
||||
"test": "npm run build:test && node --test dist-test/test/*.test.js",
|
||||
"prepare": "husky"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user