mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-04 06:43:12 +00:00
Exclude test files from build
This commit is contained in:
parent
0e9f2c2ecc
commit
0974f313fd
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"root": true,
|
"root": true,
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
"parserOptions": { "project": "./tsconfig.json" },
|
"parserOptions": { "project": "./tsconfig.dev.json" },
|
||||||
"env": { "es6": true },
|
"env": { "es6": true },
|
||||||
"ignorePatterns": ["node_modules", "build", "coverage", "proto"],
|
"ignorePatterns": ["node_modules", "build", "coverage", "proto"],
|
||||||
"plugins": ["import", "eslint-comments", "functional"],
|
"plugins": ["import", "eslint-comments", "functional"],
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
"build": "run-s build:*",
|
"build": "run-s build:*",
|
||||||
"build:main": "tsc -p tsconfig.json",
|
"build:main": "tsc -p tsconfig.json",
|
||||||
"build:module": "tsc -p tsconfig.module.json",
|
"build:module": "tsc -p tsconfig.module.json",
|
||||||
|
"build:dev": "tsc -p tsconfig.dev.json",
|
||||||
"fix": "run-s fix:*",
|
"fix": "run-s fix:*",
|
||||||
"fix:prettier": "prettier \"src/**/*.ts\" \"./*.json\" --write",
|
"fix:prettier": "prettier \"src/**/*.ts\" \"./*.json\" --write",
|
||||||
"fix:lint": "eslint src --ext .ts --fix",
|
"fix:lint": "eslint src --ext .ts --fix",
|
||||||
|
|||||||
7
tsconfig.dev.json
Normal file
7
tsconfig.dev.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": true
|
||||||
|
},
|
||||||
|
"exclude": ["node_modules/**"]
|
||||||
|
}
|
||||||
@ -46,7 +46,7 @@
|
|||||||
"typeRoots": ["node_modules/@types", "src/types"]
|
"typeRoots": ["node_modules/@types", "src/types"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts"],
|
"include": ["src/**/*.ts"],
|
||||||
"exclude": ["node_modules/**"],
|
"exclude": ["node_modules/**", "src/**/*.spec.ts", "src/test_utils"],
|
||||||
"compileOnSave": false,
|
"compileOnSave": false,
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"files": true
|
"files": true
|
||||||
|
|||||||
@ -5,5 +5,5 @@
|
|||||||
"outDir": "build/module",
|
"outDir": "build/module",
|
||||||
"module": "esnext"
|
"module": "esnext"
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules/**"]
|
"exclude": ["node_modules/**", "src/**/*.spec.ts", "src/test_utils"]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user