mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
scripts: add npm build, format and test scripts
in addition to the just tasks, this commit adds npm scripts back, for convenience. example taks: - npm test - npm test filter.test.js - npm run build - npm run format in yarn it should just work without 'run' i.e. 'yarn build'.
This commit is contained in:
@@ -32,6 +32,11 @@
|
||||
"client",
|
||||
"nostr"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node build",
|
||||
"format": "prettier --plugin-search-dir . --write .",
|
||||
"test": "node build && jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.13.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
||||
|
||||
Reference in New Issue
Block a user