ATTENTION: THIS REPOSITORY HAS BEEN DEPRECATED IN FAVOR OF https://github.com/mitre/heimdall-vuetify
https://heimdall-vue.netlify.com
Example JSON profiles are stored in sample_jsons/
npm install
npm run serve
npm run build
npm run electron
npm run test
npm run lint
npm run test:e2e
npm run test:unit
npm run storybook
If you have a proxy, remember to setup your NPM enviroment to respect the proxy
- https://jjasonclark.com/how-to-setup-node-behind-web-proxy/
npm config set strict-ssl false
npm config set proxy http://myproxy:8080
npm config set https-proxy https://myproxy:443
If you run "npm install" and get the error "unable to get local issuer certificate", you can run this command:
npm config set strict-ssl false
If you run "npm install" and get the error "node-pre-gyp ERR! Completion callback never invoked!", you can delete the "package-lock.json" file and try it again.
When developing Vue components, add your component to src/components
, following a similar style to existing components.
For visual components it is advised to add a story view of the component to storybook. This will serve as a visualization of the component under test conditions and serves to help other developers know how newly developed components are supposed to be used.
First thing to do is after creating the component, register it in storybooks config.js file (.storybook/config.js
)
import MyComponent from '../src/components/MyComponent.vue';
Vue.component('MyComponent',MyComponent);
This needs to be done as storybook runs its own instance of vue.
Next step is to add a story to stories/index.stories.js
or add one to a file in stories/
then import said story into stories/index.stories.js
Stories look like the following example from https://storybook.js.org/docs/guides/guide-vue/:
storiesOf('Button', module)
.add('with text', () => '<my-button>with text</my-button>')
.add('with emoji', () => '<my-button>π π π π―</my-button>')
.add('as a component', () => ({
components: { MyButton },
template: '<my-button :rounded="true">rounded</my-button>'
}));
The master branch contains the latest version of the software leading up to a new release.
Other branches contain feature-specific updates.
Tags indicate official releases of the project.
Please note 0.x releases are works in progress (WIP) and may change at any time.
Β© 2019 The MITRE Corporation.
Approved for Public Release; Distribution Unlimited. Case Number 18-3678.
MITRE hereby grants express written permission to use, reproduce, distribute, modify, and otherwise leverage this software to the extent permitted by the licensed terms provided in the LICENSE.md file included with this project.
This software was produced for the U. S. Government under Contract Number HHSM-500-2012-00008I, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.
No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.
For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000.