Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

major updates to typescript build config #65

Merged
merged 1 commit into from
Mar 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
node_modules
npm-debug.log
etc
bin
bin
src/default/assets/js/main.js
src/default/assets/js/main.js.map
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ Contributions are welcome and appreciated. You can find TypeDoc on GitHub, feel
an issue or create a pull requests:<br>
[https://github.com/TypeStrong/typedoc](https://github.com/TypeStrong/typedoc)

To use a local build of this project, run the `npm pack` command in this directory. Then
in the project where you want to use your local build run `npm install ../path/to/typedoc-default-themes-VERSION.tgz`


## License

Copyright (c) 2015 [Sebastian Lenz](http://www.sebastian-lenz.de).<br>
Copyright (c) 2016-2019 [TypeDoc Contributors](https://github.com/TypeStrong/typedoc/graphs/contributors).<br>
Licensed under the Apache License 2.0.
24 changes: 5 additions & 19 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,7 @@ module.exports = function(grunt)
pkg: grunt.file.readJSON('package.json'),
ts: {
themeDefault: {
options: {
sourceMap: false,
module: 'amd',
basePath: 'themes',
declaration: false
},
src: [
'src/default/assets/js/src/lib/**/*.ts',
'src/default/assets/js/src/typedoc/Application.ts',
'src/default/assets/js/src/typedoc/components/**/*.ts',
'src/default/assets/js/src/typedoc/services/**/*.ts',
'src/default/assets/js/src/typedoc/utils/**/*.ts',
'src/default/assets/js/src/~bootstrap.ts'
],
out: 'src/default/assets/js/main.js'
tsconfig: './tsconfig.json'
}
},
uglify: {
Expand All @@ -28,10 +14,10 @@ module.exports = function(grunt)
},
files: {
'bin/default/assets/js/main.js': [
'src/default/assets/js/lib/jquery-2.1.1.min.js',
'src/default/assets/js/lib/underscore-1.6.0.min.js',
'src/default/assets/js/lib/backbone-1.1.2.min.js',
'src/default/assets/js/lib/lunr.min.js',
'node_modules/jquery/dist/jquery.min.js',
'node_modules/underscore/underscore-min.js',
'node_modules/backbone/backbone-min.js',
'node_modules/lunr/lunr.min.js',
'src/default/assets/js/main.js'
]
}
Expand Down
Loading