]> git.proxmox.com Git - mirror_xterm.js.git/commit
Fix #359 - Introduce build system based on Gulp
authorParis Kasidiaris <paris@sourcelair.com>
Sat, 31 Dec 2016 09:52:26 +0000 (11:52 +0200)
committerParis Kasidiaris <paris@sourcelair.com>
Wed, 11 Jan 2017 08:11:45 +0000 (08:11 +0000)
commit081fe3f301a9146ae7bc20e4392a7f012496314e
tree7d9bfff96f1ae23aaa0a6f5f89b4d3d8eeb6c9b3
parentfc528f6c0ce969c457353bacce63af14ee130d0f
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`
Dockerfile
bin/build [deleted file]
bin/prepare-release
gulpfile.js [new file with mode: 0644]
package.json
src/xterm.js
tsconfig.json