Skip to content

Commit

Permalink
✨ Update tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Mar 29, 2022
1 parent d3ca591 commit 2c2f4fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
File renamed without changes.
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
{
"name": "react-nest-router",
"version": "0.0.9",
"version": "0.0.10",
"description": "Declarative routing for React.",
"main": "cjs/index.js",
"module": "esm/index.js",
"typings": "typings/index.d.ts",
"files": [
"cjs",
"esm",
"typings"
],
"sideEffects": false,
"repository": {
"type": "git",
Expand All @@ -36,8 +31,8 @@
"prepublishOnly": "npm run build",
"build:cjs": "rollup -c tools/rollup.cjs.js",
"build:esm": "rollup -c tools/rollup.esm.js",
"format": "prettier --write tools src cjs esm tests typings",
"build": "npm run clean && npm run build:main && npm run format",
"format": "prettier --write tools src cjs esm tests typings global.d.ts",
"build:main": "npm run build:cjs && npm run build:esm && npm run build:typings",
"build:typings": "tsc --declaration --emitDeclarationOnly --declarationDir typings"
},
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*"
"src/**/*",
"global.d.ts"
],
"exclude": [
"node_modules"
"node_modules/**/*"
]
}

0 comments on commit 2c2f4fe

Please sign in to comment.