Skip to content

Commit a0415ad

Browse files
iBatAlexander Bulychev
andauthored
CI: make generator buildable locally (#859)
Co-authored-by: Alexander Bulychev <[email protected]>
1 parent e61e1f0 commit a0415ad

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

packages/devextreme-react-generator/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"scripts": {
1616
"clean": "del-cli ./dist",
1717
"build": "npm run clean && tsc",
18+
"build:local": "npm run clean && tsc --project tsconfig.local.json",
1819
"pack": "npm run build && npm pack",
1920
"postpack": "cpy './*.tgz' dist && del-cli './*.tgz'",
2021
"test": "jest"
@@ -37,8 +38,8 @@
3738
"@types/jest": "^22.2.3",
3839
"cpy-cli": "^3.1.1",
3940
"del-cli": "^3.0.1",
40-
"jest": "^25.0.0",
41-
"ts-jest": "^25.5.1",
41+
"jest": "^26.6.3",
42+
"ts-jest": "^26.5.6",
4243
"typescript": "~4.2"
4344
}
4445
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"compilerOptions": {
3+
"outDir": "./dist",
4+
"skipLibCheck": true,
5+
"resolveJsonModule": true,
6+
"target": "es5",
7+
"module": "commonjs",
8+
"noEmitOnError": true,
9+
"jsx": "react",
10+
"declaration": true,
11+
"experimentalDecorators": true,
12+
"forceConsistentCasingInFileNames": true,
13+
"noFallthroughCasesInSwitch": true,
14+
"noImplicitAny": false,
15+
"noImplicitReturns": true,
16+
"noImplicitThis": true,
17+
"noUnusedLocals": true,
18+
"noUnusedParameters": true,
19+
"strictNullChecks": true,
20+
"lib": ["es2015", "dom"]
21+
},
22+
"include": [
23+
"src/**/*.ts",
24+
"src/**/*.tsx"
25+
],
26+
"exclude": [
27+
"src/**/*.test.ts",
28+
"node_modules",
29+
"dist"
30+
]
31+
}

0 commit comments

Comments
 (0)