Browse Source

Bump TypeScript version

master
Sindre Sorhus 6 years ago
parent
commit
201b2c6ee1
  1. 7
      package.json
  2. 23
      tsconfig.json

7
package.json

@ -48,9 +48,10 @@
], ],
"devDependencies": { "devDependencies": {
"@sindresorhus/is": "^0.13.0", "@sindresorhus/is": "^0.13.0",
"@sindresorhus/tsconfig": "^0.1.0",
"@types/dot-prop": "^4.2.0", "@types/dot-prop": "^4.2.0",
"@types/lodash.isequal": "^4.5.2", "@types/lodash.isequal": "^4.5.2",
"@types/node": "^10.12.0", "@types/node": "^10.12.10",
"@types/vali-date": "^1.0.0", "@types/vali-date": "^1.0.0",
"add-module-exports-webpack-plugin": "^0.1.0", "add-module-exports-webpack-plugin": "^0.1.0",
"ava": "^1.0.0-rc.1", "ava": "^1.0.0-rc.1",
@ -64,9 +65,9 @@
"tslint": "^5.9.1", "tslint": "^5.9.1",
"tslint-xo": "^0.10.0", "tslint-xo": "^0.10.0",
"typedoc": "^0.13.0", "typedoc": "^0.13.0",
"typescript": "^3.1.3", "typescript": "^3.2.1",
"vali-date": "^1.0.0", "vali-date": "^1.0.0",
"webpack": "^4.20.2", "webpack": "^4.26.1",
"webpack-cli": "^3.1.2" "webpack-cli": "^3.1.2"
}, },
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",

23
tsconfig.json

@ -1,31 +1,12 @@
{ {
"extends": "@sindresorhus/tsconfig",
"compilerOptions": { "compilerOptions": {
"outDir": "dist", "outDir": "dist",
"target": "es2016", "target": "es2016",
"lib": [ "lib": [
"es2016" "es2016"
], ]
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"declaration": true,
"pretty": true,
"newLine": "lf",
"stripInternal": true,
"strict": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noEmitOnError": true,
"forceConsistentCasingInFileNames": true
}, },
"exclude": [
"node_modules",
"dist"
],
"typedocOptions": { "typedocOptions": {
"out": "docs", "out": "docs",
// Links to `ArrayPredicate` and others doesn't work when this is specified... // Links to `ArrayPredicate` and others doesn't work when this is specified...

Loading…
Cancel
Save