- Add Gulp and new dependencies to `package.json`
- Add `gulpfile.js` with four tasks:
- `tsc`: For building TypeScript sources
- `bundle`: For bundling JavaScript modules in a monolith
- `sorcery`: For resolving the source map chains back to the original TypeScript files
- `build` (`default`): Runs the whole `tsc` → `bundle` → `sorcery` chain
- Clean up `Dockerfile`, since `cpio` is not needed any more
- Clean up not needed dependencies from `package.json`
- Remove `bin/build`
- Update `bin/release` to use `npm run build` instead of `./bin/build`
24 lines
333 B
JSON
24 lines
333 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es5",
|
|
"rootDir": "src",
|
|
"allowJs": true,
|
|
"outDir": "lib",
|
|
"sourceMap": true
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"src/addons/**/*",
|
|
"build",
|
|
"demo",
|
|
"dist",
|
|
"out",
|
|
"test",
|
|
"node_modules",
|
|
"docs"
|
|
]
|
|
}
|