Skip to content

Commit bb8de1e

Browse files
Initial commit
1 parent 5c50915 commit bb8de1e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+15419
-2
lines changed

Diff for: .editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
max_line_length = off
14+
trim_trailing_whitespace = false

Diff for: .env.development

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NODE_ENV=development
2+
VUE_APP_SERVER_URL=http://192.168.1.16:8080

Diff for: .eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'eslint:recommended'
9+
],
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint'
16+
}
17+
}

Diff for: .gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
/coverage
5+
6+
/tests/e2e/reports/
7+
selenium-debug.log
8+
9+
# local env files
10+
.env.local
11+
.env.*.local
12+
13+
# Log files
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
18+
# Editor directories and files
19+
.idea
20+
.vscode
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw*

Diff for: .postcssrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: {
3+
autoprefixer: {}
4+
}
5+
}

Diff for: .travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- "8"
4+
install:
5+
- npm install
6+
script:
7+
- npm run build
8+
- npm run lint
9+

Diff for: README.md

+49-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,49 @@
1-
# frontend
2-
Prototyping next-generation Dependency-Track user-interface (EXPERIMENTAL)
1+
[![Build Status](https://travis-ci.org/DependencyTrack/frontend.svg)](https://travis-ci.org/DependencyTrack/frontend)
2+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/5d481daa38134900abe88e9e064e05c7)](https://www.codacy.com/manual/DependencyTrack/frontend?utm_source=github.com&utm_medium=referral&utm_content=DependencyTrack/frontend&utm_campaign=Badge_Grade)
3+
[![License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)][License]
4+
5+
Dependency-Track Front End
6+
=========
7+
8+
This repo contains a 2nd experimental front-end web client for OWASP Dependency-Track. The project is built with:
9+
10+
* Vue 2.x / CLI 3.x
11+
* Bootstrap Vue
12+
* CoreUI
13+
14+
## Build Setup
15+
16+
``` bash
17+
# install dependencies
18+
npm install
19+
20+
# serve with hot reload at localhost:8080
21+
npm run serve
22+
23+
# build for production with minification
24+
npm run build
25+
26+
# run linter
27+
npm run lint
28+
```
29+
30+
## Development Setup
31+
32+
In order to test with a Dependency-Track instance, the `.env.development` file needs to be modified and the `VUE_APP_SERVER_URL` property updated to
33+
reflect the base URL of a Dependency-Track server.
34+
35+
## Internationalization (i18n)
36+
37+
This project supports internationalization. Currently on English language is supported. Pull requests to support additional languages are encouraged.
38+
39+
Note to developers: Textual labels are defined in `src/i18n/messages.json`. Ensure that all labels are defined here and that components use i18n, not textual labels directly.
40+
41+
Copyright & License
42+
-------------------
43+
44+
Dependency-Track is Copyright (c) Steve Springett. All Rights Reserved.
45+
46+
Permission to modify and redistribute is granted under the terms of the
47+
Apache 2.0 license. See the [LICENSE] file for the full license.
48+
49+
[License]: https://github.com/DependencyTrack/frontend/blob/master/LICENSE

Diff for: babel.config.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
presets: [
3+
['@vue/app', {
4+
polyfills: [
5+
'es6.array.find',
6+
'es6.array.from',
7+
'es6.symbol'
8+
]
9+
}],
10+
["@babel/preset-env", {
11+
"useBuiltIns": "entry"
12+
}]
13+
]
14+
}

0 commit comments

Comments
 (0)