mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-20 15:01:20 +00:00
Move tsconfig-s to the root of the project and update them
This commit is contained in:
parent
3fb057d250
commit
4dd5405431
5 changed files with 39 additions and 37 deletions
|
|
@ -5,8 +5,8 @@
|
|||
"scripts": {
|
||||
"watch": "tsc -p ./src --watch",
|
||||
"compile": "rimraf ./out && yarn compile:umd && yarn compile:esm",
|
||||
"compile:umd": "tsc -p ./src/tsconfig.json",
|
||||
"compile:esm": "tsc -p ./src/tsconfig.esm.json",
|
||||
"compile:umd": "tsc -p ./tsconfig.json",
|
||||
"compile:esm": "tsc -p ./tsconfig.esm.json",
|
||||
"bundle": "rimraf ./lib && yarn bundle:umd && yarn bundle:esm && mcopy ./src/monaco.d.ts ./lib/monaco.d.ts",
|
||||
"bundle:umd": "node ./scripts/bundle-umd",
|
||||
"bundle:esm": "node ./scripts/bundle-esm",
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../out/esm",
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"dom",
|
||||
"es5",
|
||||
"es2015.collection",
|
||||
"es2015.promise",
|
||||
"es2016",
|
||||
"es2017.string"
|
||||
],
|
||||
"downlevelIteration": true
|
||||
}
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "umd",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../out/amd",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"dom",
|
||||
"es5",
|
||||
"es2015.collection",
|
||||
"es2015.promise",
|
||||
"es2016",
|
||||
"es2017.string"
|
||||
],
|
||||
"downlevelIteration": true
|
||||
}
|
||||
}
|
||||
20
tsconfig.esm.json
Normal file
20
tsconfig.esm.json
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"alwaysStrict": true,
|
||||
"declaration": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"downlevelIteration": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"lib": ["dom", "es2016"],
|
||||
"outDir": "./out/esm",
|
||||
"sourceMap": true,
|
||||
"target": "es6",
|
||||
"plugins": [
|
||||
{
|
||||
"name": "typescript-tslint-plugin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclude": ["node_modules", "out", "lib", "test"]
|
||||
}
|
||||
17
tsconfig.json
Normal file
17
tsconfig.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"module": "umd",
|
||||
"moduleResolution": "node",
|
||||
"lib": ["dom", "es2016"],
|
||||
"outDir": "./out/amd",
|
||||
"target": "es6",
|
||||
"plugins": [
|
||||
{
|
||||
"name": "typescript-tslint-plugin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclude": ["node_modules", "out", "lib", "test"]
|
||||
}
|
||||
Loading…
Reference in a new issue