chore: organize tsconfig files to take advantage of extends feature (#1776)
* cleanup root tsconfig * organize breakpoint-tracker-react tsconfig files * remove un-necessary properties * cleanup fast-colors tsconfig files * organize base contracts tsconfig * clean up msft contracts tsconfig * clean up foundation tsconfig * organize base components tsconfig * organize msft component tsconfig * organize styles tsconifg * clean up dev site tsconfigs * clean up glyph tsconifg * organize snapshots tsconfig * organize jss-manager tsconfig * organize jss-manager-react tsconfigs * organize jss utilities tsconfig * organize react layouts tsconfigs * organize markdown tsconfigs * organize fast tooling tsconfigs * organize web utilities tsconfigs
This commit is contained in:
Родитель
59cae59483
Коммит
3ce6331a20
|
@ -15,7 +15,7 @@
|
|||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.{ts,tsx}\"",
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.*"
|
||||
]
|
||||
}
|
|
@ -1,18 +1,3 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.*"
|
||||
]
|
||||
"extends": "../../tsconfig.json"
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"__test-images__"
|
||||
]
|
||||
}
|
|
@ -1,20 +1,6 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"__test-images__"
|
||||
]
|
||||
"baseUrl": "."
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
|
@ -1,17 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
|
@ -1,17 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.{ts,tsx}\"",
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
]
|
||||
}
|
|
@ -1,20 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json && npm run copy:all",
|
||||
"build": "tsc -p ./tsconfig.build.json && npm run copy:all",
|
||||
"build:app": "webpack --progress --mode=production",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"convert:readme": "node ../../build/convert-readme.js .tmp",
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx",
|
||||
"**/examples.data.tsx"
|
||||
]
|
||||
}
|
|
@ -1,24 +1,10 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"files": [
|
||||
"typings.d.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx",
|
||||
"**/examples.data.tsx"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json && npm run copy:all",
|
||||
"build": "tsc -p ./tsconfig.build.json && npm run copy:all",
|
||||
"build:app": "webpack --progress --mode=production",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"convert:readme": "node ../../build/convert-readme.js .tmp",
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx",
|
||||
"**/examples.data.tsx"
|
||||
]
|
||||
}
|
|
@ -1,24 +1,10 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"files": [
|
||||
"typings.d.ts"
|
||||
],
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx",
|
||||
"**/examples.data.tsx"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"tslint": "tslint -c ./tslint.json '**/*.ts'",
|
||||
"tslint:fix": "tslint -c ./tslint.json --fix '**/*.ts'",
|
||||
"test": "npm run tslint && npm run unit-tests",
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"build:watch": "npm run build -- -w",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
|
@ -1,18 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import { glyphBuildingblocks } from "@microsoft/fast-glyphs-msft";
|
||||
import { Plugin, PluginProps } from "@microsoft/fast-tooling-react";
|
||||
import React from "react";
|
||||
import Site, {
|
||||
ComponentViewSlot,
|
||||
FormChildOption,
|
||||
SiteCategory,
|
||||
SiteCategoryDocumentation,
|
||||
|
@ -13,17 +14,18 @@ import Site, {
|
|||
SiteTitleBrand,
|
||||
Theme,
|
||||
} from "../src";
|
||||
import designSystemDefaults, { Direction } from "./design-system";
|
||||
import { Button, Paragraph, Span } from "./components";
|
||||
import ButtonSchema from "./components/button/button.schema.json";
|
||||
import ParagraphSchema from "./components/paragraph/paragraph.schema.json";
|
||||
import SpanSchema from "./components/paragraph/paragraph.schema.json";
|
||||
import { SiteCategoryProps, Status } from "../src/components/site/category";
|
||||
import ParagraphDocs from "./components/paragraph/.tmp/documentation";
|
||||
import ButtonDocs from "./components/button/.tmp/documentation";
|
||||
import { Framework } from "../src/components/site/dev-tools";
|
||||
import { Button, Paragraph, Span } from "./components";
|
||||
import ButtonDocs from "./components/button/.tmp/documentation";
|
||||
import ButtonSchema from "./components/button/button.schema.json";
|
||||
import ParagraphDocs from "./components/paragraph/.tmp/documentation";
|
||||
import {
|
||||
default as ParagraphSchema,
|
||||
default as SpanSchema,
|
||||
} from "./components/paragraph/paragraph.schema.json";
|
||||
import { Direction } from "./design-system";
|
||||
import TextPlugin from "./plugins/text-plugin";
|
||||
import { Plugin, PluginProps } from "@microsoft/fast-data-utilities-react";
|
||||
|
||||
export interface AppState {
|
||||
direction: Direction;
|
||||
|
@ -243,7 +245,9 @@ export default class App extends React.Component<{}, AppState> {
|
|||
return (
|
||||
<SiteCategoryItem
|
||||
slot={
|
||||
index === 0 ? "canvas-detail-view-example" : "canvas-example-view"
|
||||
index === 0
|
||||
? ComponentViewSlot.detailDocumentation
|
||||
: ComponentViewSlot.example
|
||||
}
|
||||
key={index}
|
||||
data={componentDataItem}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"build:app": "webpack --progress --mode=production",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"convert:readme": "node ../../build/convert-readme.js --src=app/**/README.md .tmp",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
|
@ -1,16 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"moduleResolution": "node",
|
||||
"outDir": "./dist",
|
||||
"sourceMap": true,
|
||||
"target": "es6",
|
||||
"jsx": "react"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
||||
"outDir": "./dist"
|
||||
}
|
||||
}
|
|
@ -1,13 +1,9 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"moduleResolution": "node",
|
||||
"outDir": "./dist",
|
||||
"sourceMap": true,
|
||||
"target": "es6"
|
||||
"module": "commonjs"
|
||||
},
|
||||
"include": [
|
||||
"utilities/**/*"
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"prepare": "npm run build",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.{ts,tsx}\"",
|
||||
"prettier:diff": "prettier --config ../../.prettierrc \"**/*.{ts,tsx}\" --list-different",
|
||||
"start": "webpack-dev-server",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
]
|
||||
}
|
|
@ -1,16 +1,8 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "commonjs",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.{ts,tsx}\"",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.*"
|
||||
]
|
||||
}
|
|
@ -1,18 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
"use strict";
|
||||
exports.__esModule = true;
|
||||
var lodash_es_1 = require("lodash-es");
|
||||
/**
|
||||
* Merges design-system values. Only plain Object values will be merged recursively,
|
||||
* all other values will be merged by assignment.
|
||||
*
|
||||
* This function returns a new object
|
||||
*/
|
||||
function mergeDesignSystem(original, overrides) {
|
||||
return lodash_es_1.mergeWith({}, original, overrides, function(objValue, srcValue) {
|
||||
if (Array.isArray(srcValue)) {
|
||||
return srcValue;
|
||||
}
|
||||
});
|
||||
}
|
||||
exports.mergeDesignSystem = mergeDesignSystem;
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
|
@ -1,17 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
|
@ -1,18 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"type": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"build:app": "webpack --progress --mode=production",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
]
|
||||
}
|
|
@ -1,21 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"lib": ["dom", "es6", "es7"],
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.{ts,tsx}\"",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.*"
|
||||
]
|
||||
}
|
|
@ -1,19 +1,8 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "commonjs",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"build:app": "webpack --progress --mode=production",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx",
|
||||
"**/__tests__/**"
|
||||
]
|
||||
}
|
|
@ -1,23 +1,9 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"lib": [ "es2016", "dom"],
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"outDir": "./dist",
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx",
|
||||
"**/__tests__/**"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -17,7 +17,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p ./tsconfig.json",
|
||||
"build": "tsc -p ./tsconfig.build.json",
|
||||
"clean:dist": "node ../../build/clean.js dist",
|
||||
"prepare": "npm run clean:dist && npm run build",
|
||||
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
|
@ -1,18 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6",
|
||||
"target": "ES6",
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
"esModuleInterop": true,
|
||||
"jsx": "react",
|
||||
"module": "ES6",
|
||||
"moduleResolution": "node",
|
||||
"target": "ES6"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче