|
@@ -64,13 +64,15 @@ def find_package_data():
|
|
|
Find package_data.
|
|
|
"""
|
|
|
return {
|
|
|
- 'jupyterlab': ['build/*', 'lab.html', 'package.json', 'index.template.js', 'webpack.config.js']
|
|
|
+ 'jupyterlab': ['build/*', 'index.template.js', 'webpack.config.js',
|
|
|
+ 'package.template.json']
|
|
|
}
|
|
|
|
|
|
|
|
|
def js_prerelease(command, strict=False):
|
|
|
"""decorator for building minified js/css prior to another command"""
|
|
|
class DecoratedCommand(command):
|
|
|
+
|
|
|
def run(self):
|
|
|
jsdeps = self.distribution.get_command_obj('jsdeps')
|
|
|
if not is_repo and all(os.path.exists(t) for t in jsdeps.targets):
|