kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
build: add script and disable eslint rules
rodzic
ee3f9d3cfc
commit
97b53a79d1
|
@ -24,10 +24,12 @@
|
|||
"warn",
|
||||
{ "vars": "all", "args": "after-used", "ignoreRestSiblings": true }
|
||||
],
|
||||
"no-useless-catch": "warn"
|
||||
"no-useless-catch": "warn",
|
||||
"@typescript-eslint/no-extra-semi": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off"
|
||||
},
|
||||
"settings": {},
|
||||
"globals": {
|
||||
"__DEV__": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"build": "tsup",
|
||||
"dev": "tsup --watch",
|
||||
"clean": "del build",
|
||||
"lint": "eslint --ext .{js,jsx,ts,tsx} src test --fix",
|
||||
"lint": "eslint --ext .{js,jsx,ts,tsx} examples src test --fix",
|
||||
"prebuild": "run-s clean",
|
||||
"predev": "run-s clean",
|
||||
"pretest": "run-s build",
|
||||
|
@ -34,7 +34,8 @@
|
|||
"pre-commit": "lint-staged",
|
||||
"test": "run-p test:*",
|
||||
"test:unit": "ava",
|
||||
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check"
|
||||
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check",
|
||||
"test:eslint": "eslint --ext .{js,jsx,ts,tsx} examples src test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.4.3",
|
||||
|
|
Ładowanie…
Reference in New Issue