diff options
author | Tim Baumann <tim@timbaumann.info> | 2017-09-23 22:02:01 +0200 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2017-09-23 22:02:01 +0200 |
commit | e99aefb50ca63e2dbcc95841efbb53cea90151d8 (patch) | |
tree | 3ab0cebcd012122631336281dceb389dd0fd4506 /haddock-api/resources/html/package.json | |
parent | fe4c6c7d2907a79118d836e72c0442d666091524 (diff) |
Add compile step that bundles and compresses JS files (#684)
* Add compile step that bundles and compresses JS files
Also, manage dependencies on third-party JS libraries using NPM.
* Compile JS from TypeScript
* Enable 'noImplicitAny' in TypeScript
* QuickJump: use JSX syntax
* Generate source maps from TypeScript for easier debugging
* TypeScript: more accurate type
* Separate quick jump css file from ocean theme
Diffstat (limited to 'haddock-api/resources/html/package.json')
-rw-r--r-- | haddock-api/resources/html/package.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/haddock-api/resources/html/package.json b/haddock-api/resources/html/package.json new file mode 100644 index 00000000..3f2922fa --- /dev/null +++ b/haddock-api/resources/html/package.json @@ -0,0 +1,32 @@ +{ + "name": "haddock-quick-jump", + "version": "0.1.0", + "description": "A drop-down search on Haddock docs for navigating quickly to definitions of Haskell functions and types in the current package", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/haskell/haddock.git" + }, + "author": "Tim Baumann <tim@timbaumann.info>", + "contributors": [ + "Mark Lentczner <markl@glyphic.com>", + "Moritz Drexl <mdrexl@fastmail.fm>", + "Alex Biehl <alexbiehl@gmail.com>" + ], + "dependencies": { + "fuse.js": "^3.1.0", + "preact": "^8.2.5" + }, + "devDependencies": { + "browserify": "^14.4.0", + "gulp": "^3.9.1", + "gulp-sourcemaps": "^2.6.1", + "gulp-uglify": "^3.0.0", + "tsify": "^3.0.3", + "typescript": "^2.5.2", + "vinyl-buffer": "^1.0.0", + "vinyl-source-stream": "^1.1.0" + } +} |