mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
chore: move tests to separate package
This commit is contained in:
parent
ce9938e464
commit
3d08cb28c8
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
tsconfigRootDir: __dirname,
|
tsconfigRootDir: __dirname,
|
||||||
project: "./tsconfig.dev.json",
|
project: "./tsconfig.json",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -41,21 +41,15 @@
|
|||||||
"privacy"
|
"privacy"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run-s build:**",
|
|
||||||
"build:esm": "tsc",
|
|
||||||
"fix": "run-s fix:*",
|
"fix": "run-s fix:*",
|
||||||
"fix:prettier": "prettier . --write",
|
"fix:prettier": "prettier . --write",
|
||||||
"fix:lint": "eslint src --ext .ts --ext .cjs --fix",
|
"fix:lint": "eslint tests --ext .ts --ext .cjs --fix",
|
||||||
"check": "run-s check:*",
|
"check": "run-s check:*",
|
||||||
"check:lint": "eslint src --ext .ts",
|
"check:lint": "eslint tests --ext .ts",
|
||||||
"check:prettier": "prettier . --list-different",
|
"check:prettier": "prettier . --list-different",
|
||||||
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
"check:spelling": "cspell \"{README.md,src/**/*.ts}\"",
|
||||||
"check:tsc": "tsc -p tsconfig.dev.json",
|
"check:tsc": "tsc -p tsconfig.json",
|
||||||
"test": "exit 0 # Tested in @waku/core",
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
||||||
"proto": "exit 0 # no proto",
|
|
||||||
"doc": "exit 0",
|
|
||||||
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build",
|
|
||||||
"release": "exit 0"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./tsconfig",
|
|
||||||
"compilerOptions": {
|
|
||||||
"module": "esnext",
|
|
||||||
"noEmit": true
|
|
||||||
},
|
|
||||||
"exclude": []
|
|
||||||
}
|
|
||||||
@ -3,9 +3,10 @@
|
|||||||
"incremental": true,
|
"incremental": true,
|
||||||
"target": "es2020",
|
"target": "es2020",
|
||||||
"outDir": "dist/",
|
"outDir": "dist/",
|
||||||
"rootDir": "src",
|
"rootDir": "tests",
|
||||||
|
"noEmit": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"module": "es2020",
|
"module": "esnext",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
||||||
@ -45,8 +46,7 @@
|
|||||||
"types": ["node", "mocha"],
|
"types": ["node", "mocha"],
|
||||||
"typeRoots": ["node_modules/@types", "src/types"]
|
"typeRoots": ["node_modules/@types", "src/types"]
|
||||||
},
|
},
|
||||||
"include": ["src"],
|
"include": ["tests"],
|
||||||
"exclude": ["src/**/*.spec.ts", "src/test_utils"],
|
|
||||||
"compileOnSave": false,
|
"compileOnSave": false,
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"files": true
|
"files": true
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.dev",
|
"extends": "./tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": false
|
"noEmit": false
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user