Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Generate .d.ts.map files when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
David Dooling committed Aug 2, 2019
1 parent a9692e2 commit dd16182
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.npmrc
node_modules/
*.d.ts
*.d.ts.map
*.js
*.js.map
*.log
Expand All @@ -19,4 +20,4 @@ git-info.json
spidered
!d3.*.min.js
!jquery-3.4.1.min.js
!webpack.config.js
!webpack.config.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"autotest": "supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test",
"build": "run-s compile test lint doc",
"clean": "run-p clean:compile clean:test clean:doc clean:run",
"clean:compile": "rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test,views,public}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts",
"clean:compile": "rimraf git-info.json \"index.{d.ts,js}{,.map}\" \"{lib,test,views,public}/**/*.{d.ts,js}{,.map}\" lib/typings/types.ts",
"clean:dist": "run-s clean clean:npm",
"clean:doc": "rimraf doc",
"clean:npm": "rimraf node_modules",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"moduleResolution": "Node",
"jsx": "react",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"lib": [
"dom",
Expand Down Expand Up @@ -37,4 +38,4 @@
"atom": {
"rewriteTsconfig": false
}
}
}

0 comments on commit dd16182

Please sign in to comment.