初版
parents
Showing
.editorconfig
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.npmrc
0 → 100644
.prettierrc.js
0 → 100644
.yarnrc
0 → 100644
MD.js
0 → 100644
README.md
0 → 100644
config/scripts/constant.js
0 → 100644
config/scripts/utils.js
0 → 100644
config/webpack.dev.config.js
0 → 100644
cspell.json
0 → 100644
jsconfig.json
0 → 100644
loc.json
0 → 100644
mock/common/drawNum.js
0 → 100644
mock/common/rule.js
0 → 100644
mock/index.js
0 → 100644
mock/project/draw.js
0 → 100644
mock/project/index.js
0 → 100644
package.json
0 → 100644
{ | |||
"name": "temp_base", | |||
"version": "3.5.8", | |||
"private": true, | |||
"scripts": { | |||
"dev": "cross-env NODE_ENV=development node ./config/scripts/assets/generateAssetList.js && node ./config/webpack.dev.config.js", | |||
"imgmin": "node ./config/scripts/assets/index.js imgmin", | |||
"imgup": "node ./config/scripts/assets/index.js imgup", | |||
"imgminup": "node ./config/scripts/assets/index.js imgmin imgup", | |||
"spark:prebuild": "ncu @spark/pre-build -u && yarn && npx pre-build", | |||
"lint": "eslint --ext .js,jsx,.html src public", | |||
"prod": "rimraf ./dist &&cross-env NODE_ENV=production node ./config/webpack.prod.config.js", | |||
"build": "rimraf ./dist &&cross-env NODE_ENV=production node ./config/scripts/assets/generateAssetList.js && node ./config/scripts/assets/index.js imgmin imgup && node ./config/webpack.prod.config.js" | |||
}, | |||
"dependencies": { | |||
"@spark/api-base": "^2.0.7", | |||
"@spark/projectx": "^2.0.5", | |||
"@spark/svgaplayer": "^2.0.3", | |||
"@spark/ui": "^2.0.8", | |||
"@spark/utils": "^2.0.17", | |||
"duiba-utils": "^1.0.2", | |||
"history": "^4.10.1", | |||
"mobx": "^6.2.0", | |||
"mobx-react": "^7.1.0", | |||
"qs": "^6.9.4", | |||
"react": "^16.4.1", | |||
"react-dom": "^16.4.1", | |||
"spark-utils": "^0.0.12" | |||
}, | |||
"devDependencies": { | |||
"@babel/core": "^7.12.10", | |||
"@babel/eslint-parser": "^7.17.0", | |||
"@babel/plugin-proposal-decorators": "^7.13.15", | |||
"@babel/plugin-transform-runtime": "^7.12.10", | |||
"@babel/preset-env": "^7.12.11", | |||
"@babel/preset-react": "^7.12.10", | |||
"@spark/eslint-plugin-best-practices": "^0.0.1-beta.2", | |||
"@spark/eslint-plugin-security": "^0.0.1-beta.5", | |||
"@spark/pre-build": "^0.0.1-beta.11", | |||
"autoprefixer": "^9.8.6", | |||
"babel-loader": "^8.2.2", | |||
"chalk": "^4.1.0", | |||
"clean-webpack-plugin": "^3.0.0", | |||
"cross-env": "^7.0.3", | |||
"css-loader": "^3.6.0", | |||
"eslint": "^8.22.0", | |||
"eslint-plugin-html": "^6.2.0", | |||
"eslint-plugin-react": "^7.29.4", | |||
"fs-extra": "^9.0.1", | |||
"html-webpack-plugin": "^4.5.1", | |||
"less": "^4.1.0", | |||
"less-loader": "^7.2.1", | |||
"mini-css-extract-plugin": "^1.3.4", | |||
"mocker-api": "^2.7.5", | |||
"mockjs": "^1.1.0", | |||
"npm-check-updates": "^12.5.4", | |||
"optimize-css-assets-webpack-plugin": "^5.0.4", | |||
"postcss-loader": "^3.0.0", | |||
"postcss-px2rem-exclude": "0.0.6", | |||
"prettier": "^2.0.5", | |||
"progress-bar-webpack-plugin": "^2.1.0", | |||
"rimraf": "^3.0.2", | |||
"script-ext-html-webpack-plugin": "^2.1.5", | |||
"spark-assets": "^2.3.10", | |||
"spark-log-event": "^1.0.4", | |||
"style-loader": "^1.2.1", | |||
"url-loader": "^4.1.1", | |||
"webpack": "^4.43.0", | |||
"webpack-bundle-analyzer": "^4.5.0", | |||
"webpack-cli": "^4.3.1", | |||
"webpack-dev-server": "^3.11.0", | |||
"webpack-merge": "^4.2.2" | |||
} | |||
} |
public/favicon.ico
0 → 100644
3.78 KB
public/index.html
0 → 100644
spark.config.json
0 → 100644
sparkrc.js
0 → 100644
sparkrescfg.json
0 → 100644
src/api/index.js
0 → 100644
src/api/utils.d.ts
0 → 100644
src/api/utils.js
0 → 100644
src/app.jsx
0 → 100644
src/app.less
0 → 100644
src/assetList.json
0 → 100644
src/assets/Game/btn_top.png
0 → 100644
50.1 KB
src/assets/Game/logo.png
0 → 100644
25.5 KB
src/assets/Game/machine.png
0 → 100644
119 KB
src/assets/Game/mask.png
0 → 100644
933 Bytes
636 Bytes
555 Bytes
239 KB
src/modal/modal.jsx
0 → 100644
src/modal/modal.less
0 → 100644
src/res.less
0 → 100644
src/store/index.js
0 → 100644
src/store/modal.js
0 → 100644
src/utils/checkwebp.js
0 → 100644
src/utils/constants.js
0 → 100644
src/utils/errorHandler.js
0 → 100644
src/utils/preload1.3.js
0 → 100644
src/utils/share.js
0 → 100644
src/utils/utils.js
0 → 100644