mirror of https://github.com/keeweb/keeweb.git
tests tsconfig
This commit is contained in:
parent
6f068ebf18
commit
500eaa4569
|
@ -126,7 +126,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "grunt",
|
||||
"test": "mocha --require ts-node/register,tsconfig-paths/register,test/init.ts --recursive --reporter spec 'test/**/*.spec.ts'",
|
||||
"test": "cross-env TS_NODE_PROJECT=tsconfig.tests.json mocha --require ts-node/register,tsconfig-paths/register,test/init.ts --recursive --reporter spec 'test/**/*.spec.ts'",
|
||||
"eslint": "grunt eslint",
|
||||
"build-beta": "grunt --beta && cp dist/index.html ../keeweb-beta/index.html && cd ../keeweb-beta && git add index.html && git commit -a -m 'beta' && git push origin master",
|
||||
"electron": "cross-env KEEWEB_IS_PORTABLE=0 ELECTRON_DISABLE_SECURITY_WARNINGS=1 KEEWEB_EMULATE_HARDWARE_ENCRYPTION=persistent KEEWEB_HTML_PATH=http://localhost:8085 electron desktop --no-sandbox",
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"module": "commonjs",
|
||||
"preserveConstEnums": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "preact",
|
||||
"baseUrl": "app/scripts",
|
||||
"noEmitOnError": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["app/scripts/**/*", "test/**/*.ts"]
|
||||
}
|
Loading…
Reference in New Issue