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