Reinstate "Add transpiling as a step in the build process"
This commit fixes the issue with https://review.opendev.org/#/c/600979/ where the minified output contained a mangled name, which broke dependency injection for the `CardDetailController`. It also re-adds the transpilation step to move towards allowing ES6 syntax at last. This reverts commit
|3 months ago|
|bin||2 years ago|
|src||3 months ago|
|test||3 years ago|
|.eslintignore||11 months ago|
|.eslintrc||4 years ago|
|.gitignore||2 years ago|
|.gitreview||10 months ago|
|.zuul.yaml||10 months ago|
|Gruntfile.js||3 months ago|
|LICENSE||6 years ago|
|README.md||3 years ago|
|bindep.txt||3 years ago|
|karma.conf.js||11 months ago|
|package.json||3 months ago|
|protractor-integration.conf.js||4 years ago|
|protractor.conf.js||5 years ago|
|tox.ini||1 year ago|
|yarn.lock||3 months ago|
A WebClient for the OpenStack StoryBoard project.
First of all be sure to have tox installed on your machine then:
The following are commands that may be used during project development.
npm run clean: Erases the temporary folders created by various grunt tasks, such as reports, cover and dist.
npm run build: Compile and packages our code.
npm run serve: Development server - runs a build and sets up concurrent watchers that will automatically lint, test, and refresh the code when a change is detected.
npm run test-unit: This command will create a clean build against which our unit tests will be run. For more information, please see karma-unit.conf.js
npm run test-integration: This command will create a clean build against which our functional tests will be run. For more information, please see protractor-integration.conf.js
npm run test-functional: This command will create a clean build against which our functional tests will be run. For more information, please see protractor.conf.js
For more detailed development, the following commands are available via grunt.
To run them, you will need to install grunt globally:
npm install -g grunt.
compile: Compiles all of our sources in the dist directory.
package: Built code into a release package.
serve:dist: This task performs a full build of our application, and then runs that source in a local web server. It does no watching, it simply hosts the files.
serve:prod: This task is identical to ‘server:dist’, with the exception that it will proxy the API requests against the production API. USE WITH CAUTION