paper.js/gulp/tasks
Samuel Asensi 43bbb249ab Allow paper core import in TypeScript (#1716)
* Allow paper core import in TypeScript

Typings were missing when importing paper core version with:
`import * as paper from 'paper/dist/paper-core'` syntax.
This changes the generated TypeScript definition so that it exports two
modules: `paper` and `paper/dist/paper-core`. In the same logic,
`paper-core.d.ts` file is added to make sure that the corresponding
definition is automatically loaded.
This also takes care of the fact that `PaperScript` class is not
available in paper core version, by removing it from the corresponding
TypeScript definition.
Finally, this also simplifies existing definition by directly exporting
a `PaperScope` instance as the module instead of duplicating all
`PaperScope` properties and methods on the module itself.
Closes #1713
2019-11-07 12:12:14 +01:00
..
build.js Update copyright year to 2019 2018-12-27 16:13:01 +09:00
dist.js Allow paper core import in TypeScript (#1716) 2019-11-07 12:12:14 +01:00
docs.js Release version 0.12.3 2019-06-22 14:40:54 +02:00
jshint.js Update copyright year to 2019 2018-12-27 16:13:01 +09:00
load.js Update copyright year to 2019 2018-12-27 16:13:01 +09:00
minify.js Update copyright year to 2019 2018-12-27 16:13:01 +09:00
publish.js Release version 0.12.3 2019-06-22 14:40:54 +02:00
test.js Update copyright year to 2019 2018-12-27 16:13:01 +09:00
watch.js Update copyright year to 2019 2018-12-27 16:13:01 +09:00