9aa057edee
* Add a multi-process, gulp-based build system to support es6 features, async/await, jsx and scss * Add a package.json to support dependency management and allow starting the build process via npm * Replace embedded Bluebird library with npm-installed one * Add react, react-dom and web-library * Introduce a custom require() loader in include.js as well as a minimal local require() implementation in various other places
39 lines
No EOL
846 B
Text
39 lines
No EOL
846 B
Text
{
|
|
"compact": false,
|
|
"presets": [],
|
|
"ignore": [
|
|
"chrome/content/zotero/include.js",
|
|
"resource/tinymce/tinymce.js",
|
|
"chrome/content/zotero/xpcom/citeproc.js",
|
|
"resource/csl-validator.js",
|
|
"resource/react.js",
|
|
"resource/react-dom.js"
|
|
],
|
|
"plugins": [
|
|
"syntax-flow",
|
|
"syntax-jsx",
|
|
"syntax-async-generators",
|
|
"syntax-class-properties",
|
|
"syntax-decorators",
|
|
"syntax-do-expressions",
|
|
"syntax-export-extensions",
|
|
"syntax-flow",
|
|
"syntax-jsx",
|
|
"syntax-object-rest-spread",
|
|
"transform-react-jsx",
|
|
"transform-react-display-name",
|
|
[
|
|
"transform-async-to-module-method",
|
|
{
|
|
"module": "bluebird/bluebird.js",
|
|
"method": "coroutine"
|
|
}
|
|
],
|
|
[
|
|
"transform-es2015-modules-commonjs",
|
|
{
|
|
"strictMode": false
|
|
}
|
|
]
|
|
]
|
|
} |