fix(npm): potential security vulnerabilities

pull/8/head
Kairee Wu 4 years ago
parent 35bdebe5d9
commit 10db0cbb2d
No known key found for this signature in database
GPG Key ID: E904B5FF4F40BC01

@ -15,11 +15,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
cache: 'npm'
- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Build
run: yarn build
run: npm run build
- name: Rename output dir
run: mv build sergate
- name: Make zip file

2
.gitignore vendored

@ -23,4 +23,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock

39602
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -24,18 +24,10 @@
},
"dependencies": {
"@ant-design/icons": "^4.6.4",
"@babel/core": ">=7.0.0-0 <8.0.0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@types/node": "16.0.0",
"@types/react": "18",
"@types/react-dom": "18",
"antd": "^4.0.0",
"babel-plugin-import": "^1.13.1",
"react": "18",
"react-dom": "18",
"react-intl-universal": "^2.5.3",
"typescript": "^4.1.2"
"react-intl-universal": "^2.5.3"
},
"scripts": {
"start": "react-scripts start",
@ -61,9 +53,21 @@
]
},
"devDependencies": {
"@babel/core": ">=7.0.0-0 <8.0.0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@svgr/webpack": "^6.2.1",
"@types/node": "16.0.0",
"@types/react": "18",
"@types/react-dom": "18",
"babel-plugin-import": "^1.13.1",
"react-scripts": "^5.0.1",
"semantic-release": "^19.0.3"
"semantic-release": "^19.0.3",
"typescript": "^4.1.2"
},
"overrides": {
"@svgr/webpack": "$@svgr/webpack"
}
}

11720
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save