mirror of
https://github.com/demostf/demo.js
synced 2026-06-03 16:44:12 +02:00
add sourcemaps for the typescript
This commit is contained in:
parent
be00d32175
commit
3c9dbe9936
3 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
require('source-map-support').install();
|
||||
|
||||
var Demo = require('../index');
|
||||
var fs = require('fs');
|
||||
var argv = require('minimist')(process.argv.slice(2), {boolean: true});
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^6.0.52",
|
||||
"babel-plugin-transform-do-expressions": "^6.8.0",
|
||||
"babel-preset-es2015-node6": "^0.4.0",
|
||||
"typescript": "^2.1.4"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"outDir": "build",
|
||||
"rootDir": "src",
|
||||
"declaration": true,
|
||||
"strictNullChecks": true
|
||||
"strictNullChecks": true,
|
||||
"sourceMap": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue