forked from vladmandic/build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.build.json
134 lines (134 loc) · 4.03 KB
/
.build.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"log": {
"enabled": true,
"debug": false,
"console": true,
"output": "build.log"
},
"profiles": {
"production": ["clean", "compile", "typings", "typedoc", "lint", "changelog"],
"development": ["serve", "watch", "compile"],
"lint": ["lint"],
"all": ["clean", "compile", "typings", "typedoc", "lint", "changelog", "serve", "watch"]
},
"watch": {
"locations": [ "src/**", "README.md" ]
},
"clean": {
"locations": ["types/*", "typedoc/*"]
},
"changelog": {
"output": "CHANGELOG.md"
},
"serve": {
"sslKey": "cert/https.key",
"sslCrt": "cert/https.crt",
"httpPort": 8000,
"httpsPort": 8001,
"documentRoot": ".",
"defaultFolder": ".",
"defaultFile": "index.html"
},
"build": {
"global": {
"target": "es2018",
"sourcemap": true,
"banner": { "js": "/*\n generated by @vladmandic/build \n*/\n" }
},
"production": {
"minify": false
},
"development": {
"minify": false
},
"targets": [
{
"name": "build module",
"input": "src/build.ts",
"output": "dist/build.esm.js",
"platform": "node",
"typings": "types",
"typedoc": "typedoc",
"external": ["typedoc", "typescript", "eslint", "esbuild", "fsevents"]
}
]
},
"typescript": {
"module": "es2020",
"target": "es2020",
"typeRoots": ["node_modules/@types"],
"lib": ["lib.esnext.d.ts", "lib.dom.d.ts", "lib.webworker.d.ts"],
"baseUrl": "./",
"paths": { "tslib": ["node_modules/tslib/tslib.d.ts"] },
"sourceMap": true,
"noEmitOnError": false,
"emitDeclarationOnly": true,
"declaration": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"pretty": true,
"removeComments": false,
"skipLibCheck": true,
"listEmittedFiles": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"alwaysStrict": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": false,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": false,
"noUnusedLocals": false,
"noUnusedParameters": true,
"preserveConstEnums": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"no-restricted-syntax": "off"
},
"lint": {
"locations": [ "src/*.ts" ],
"env": { "browser": true, "commonjs": true, "node": true, "es2020": true },
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": 2020 },
"plugins": [ "@typescript-eslint" ],
"extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended" ],
"ignorePatterns": [ "**/dist/**", "**/typedoc/**", "**/types/**", "**/node_modules/**" ],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-var-requires": "off",
"dot-notation": "off",
"func-names": "off",
"guard-for-in": "off",
"import/extensions": "off",
"import/no-named-as-default": "off",
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
"max-len": [1, 250, 3],
"newline-per-chained-call": "off",
"no-async-promise-executor": "off",
"no-await-in-loop": "off",
"no-bitwise": "off",
"no-case-declarations":"off",
"no-continue": "off",
"no-plusplus": "off",
"object-curly-newline": "off",
"prefer-destructuring": "off",
"prefer-template":"off",
"promise/always-return": "off",
"promise/catch-or-return": "off",
"radix": "off",
"no-underscore-dangle": "off",
"no-restricted-syntax": "off",
"no-return-assign": "off"
}
}
}