Fix #359 - Introduce build system based on Gulp

- 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`
This commit is contained in:
Paris Kasidiaris
2017-01-11 08:11:45 +00:00
parent fc528f6c0c
commit 081fe3f301
7 changed files with 111 additions and 53 deletions
+6 -2
View File
@@ -7,13 +7,17 @@
"outDir": "lib",
"sourceMap": true
},
"include": [
"src/**/*"
],
"exclude": [
"addons",
"src/addons/**/*",
"build",
"demo",
"dist",
"out",
"test",
"node_modules"
"node_modules",
"docs"
]
}