forked from eclipse-tractusx/portal-assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "cx-portal-assets",
"version": "v2.3.0-RC2",
"description": "Shared frontend content and static assets for the Catena-X Portal",
"main": "index.js",
"repository": "[email protected]:eclipse-tractusx/portal-assets.git",
"license": "Apache-2.0",
"type": "module",
"devDependencies": {
"concurrently": "^8.0.1",
"directory-tree": "^3.5.2",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"express": "^4.19.2",
"http-proxy-middleware": "^2.0.6",
"http-server": "^14.1.1",
"husky": ">=6",
"prettier": "^3.0.3"
},
"dependencies": {
"zero-md": "^2.4.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write --ignore-unknown",
"eslint --quiet --fix"
],
"*.{json,css,sass,scss,xml,yml,yaml,md}": [
"prettier --write --ignore-unknown"
],
"*.test.{js,jsx,ts,tsx}": [
"jest"
]
},
"scripts": {
"prepare": "husky",
"pretty": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,sass,scss,xml,yml,yaml,html,md}\"",
"pretty:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,sass,scss,xml,yml,yaml,html,md}\"",
"lint": "eslint \"./{src,public/documentation}/**/*.{ts,tsx,js,jsx}\" --report-unused-disable-directives --max-warnings 0",
"build:release": "node src/documentation/Release.js ${1}",
"build": "yarn build:copy-legal-info && ./scripts/build.sh",
"build:legal-notice": "bash scripts/legal-notice.sh",
"build:copy-legal-info": "cp LICENSE NOTICE.md DEPENDENCIES SECURITY.md public/assets/notice/",
"build:sources": "zip -r portal-assets.zip src package.json yarn.lock -x '*.stories.*' -x '*.test.*' -x '*.ttf' -x '*.svg' -x '*.png' -x '*.jpg'",
"start": "concurrently \"yarn start:assets\" \"yarn start:proxy\" \"open http://localhost:3000/\"",
"start:proxy": "node src/proxy/index.cjs",
"start:assets": "http-server -a 127.0.0.1 -p 3003"
}
}