зеркало из https://github.com/microsoft/tiny-calc.git
Build: Hoist common config to shared '@tiny-calc/tool-config' pkg
This commit is contained in:
Родитель
8c5b57e15a
Коммит
b47bbdc710
|
@ -61,3 +61,6 @@ temp
|
|||
# Rush files
|
||||
common/temp/**
|
||||
package-deps.json
|
||||
|
||||
# TypeScript incremental build info
|
||||
*.tsbuildinfo
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": "@tiny-calc/tool-config",
|
||||
"version": "0.0.2",
|
||||
"description": "Common config for build tools",
|
||||
"sideEffects": "false",
|
||||
"scripts": {
|
||||
"build": "echo No build steps necessary."
|
||||
},
|
||||
"author": "Microsoft",
|
||||
"license": "MIT"
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2017",
|
||||
"module": "commonjs",
|
||||
"sourceMap": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"incremental": true,
|
||||
"preserveConstEnums": false,
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUnusedLocals": true
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
"test": "mocha -r ts-node/register test/**/*.spec.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tiny-calc/tool-config": "^0.0.2",
|
||||
"@types/benchmark": "^1.0.31",
|
||||
"@types/mocha": "^5.2.6",
|
||||
"@types/node": "^10.0.0",
|
||||
|
|
|
@ -1,17 +1,9 @@
|
|||
{
|
||||
"extends": "@tiny-calc/tool-config/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"incremental": true,
|
||||
"declaration": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": false,
|
||||
"sourceMap": false,
|
||||
"strict": true,
|
||||
"outDir": "dist/"
|
||||
"declarationDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"@tiny-calc/nano": "^0.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tiny-calc/tool-config": "^0.0.2",
|
||||
"@types/node": "^10.0.0",
|
||||
"rimraf": "^2.6.3",
|
||||
"ts-node": "^8.1.0",
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
{
|
||||
"extends": "@tiny-calc/tool-config/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"incremental": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": false,
|
||||
"sourceMap": false,
|
||||
"strict": true,
|
||||
"outDir": "dist/"
|
||||
"declarationDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
|
|
|
@ -22,6 +22,12 @@
|
|||
"reviewCategory": "production",
|
||||
"versionPolicyName": "public"
|
||||
},
|
||||
{
|
||||
"packageName": "@tiny-calc/tool-config",
|
||||
"projectFolder": "packages/common/tool-config",
|
||||
"reviewCategory": "production",
|
||||
"versionPolicyName": "public"
|
||||
},
|
||||
{
|
||||
"packageName": "@tiny-calc-test/example",
|
||||
"projectFolder": "packages/test/example",
|
||||
|
|
Загрузка…
Ссылка в новой задаче