Initial commit
parents
Showing
.babelrc
0 → 100644
.gitignore
0 → 100644
File added
app.config.ts
0 → 100644
mock.js
0 → 100644
mock/addStat.js
0 → 100644
mock/completeTask.js
0 → 100644
mock/drawCard.js
0 → 100644
mock/drawLottery.js
0 → 100644
mock/drawLotteryWheel.js
0 → 100644
mock/exchangePrizeInfo.js
0 → 100644
mock/getAnswerList.js
0 → 100644
mock/getCardInfo.js
0 → 100644
mock/getCollectGoods.js
0 → 100644
mock/getExchangeList.js
0 → 100644
mock/getMyAwardsList.js
0 → 100644
mock/getPrizeConfig.js
0 → 100644
mock/getTaobaoItemList.js
0 → 100644
mock/getTaskList.js
0 → 100644
mock/getUserInfo.js
0 → 100644
mock/getUserRankList.js
0 → 100644
mock/giftCard.js
0 → 100644
mock/login.js
0 → 100644
mock/receiveEnamePrize.js
0 → 100644
mock/receiveGiftCard.js
0 → 100644
mock/receiveMemberPrize.js
0 → 100644
mock/receiveObjectPrize.js
0 → 100644
mock/receiveTask.js
0 → 100644
mock/reissuePrize.js
0 → 100644
mock/resultantCard.js
0 → 100644
mock/startAnswer.js
0 → 100644
mock/startGame.js
0 → 100644
mock/submitAnswer.js
0 → 100644
mock/submitGame.js
0 → 100644
mockServer/CHANGELOG.md
0 → 100644
mockServer/README.md
0 → 100644
mockServer/package.json
0 → 100644
mockServer/src/index.ts
0 → 100644
mockServer/tsconfig.json
0 → 100644
mockServer/yarn.lock
0 → 100644
mona.config.ts
0 → 100644
package-lock.json
0 → 100644
package.json
0 → 100644
{ | ||
"name": "mona_template", | ||
"version": "1.0.0", | ||
"description": "Project created by mona-cli", | ||
"author": "unknow", | ||
"private": true, | ||
"scripts": { | ||
"build": "mona-service build", | ||
"start": "mona-service start", | ||
"start:mini": "mona-service start -t mini", | ||
"build:mini": "mona-service build -t mini", | ||
"compress": "mona-service build && mona-service compress", | ||
"preview": "npm run build && mona-service preview -t mini", | ||
"mock": "node ./mock.js" | ||
}, | ||
"dependencies": { | ||
"@bytedance/mona": "latest", | ||
"@bytedance/mona-runtime": "latest", | ||
"@bytedance/mona-service": "latest", | ||
"@tinoe/glk": "^1.0.3-alpha.1", | ||
"mockjs": "^1.1.0", | ||
"normalize.css": "^8.0.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-json-view": "^1.21.3", | ||
"react-router-dom": "^5.2.0", | ||
"tinoe": "^1.0.3-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^17.0.2", | ||
"@types/react-dom": "^17.0.0", | ||
"typescript": "^4.0.2" | ||
}, | ||
"license": "UNLICENSED", | ||
"browserslist": { | ||
"modern": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version" | ||
] | ||
} | ||
} |
src/api.ts
0 → 100644
src/app.tsx
0 → 100644
src/common/imgs/logo.svg
0 → 100644
src/common/styles/base.less
0 → 100644
src/common/styles/theme.less
0 → 100644
src/components/index.ts
0 → 100644
src/config.ts
0 → 100644
src/model/addStat.d.ts
0 → 100644
src/model/completeTask.d.ts
0 → 100644
src/model/drawCard.d.ts
0 → 100644
src/model/drawLottery.d.ts
0 → 100644
src/model/exchangeGood.d.ts
0 → 100644
src/model/getAnswerList.d.ts
0 → 100644
src/model/getCardInfo.d.ts
0 → 100644
src/model/getGoodList.d.ts
0 → 100644
src/model/getTaskList.d.ts
0 → 100644
src/model/getUserInfo.d.ts
0 → 100644
src/model/giftCard.d.ts
0 → 100644
src/model/login.d.ts
0 → 100644
src/model/openLimitTask.d.ts
0 → 100644
src/model/receiceTask.d.ts
0 → 100644
src/model/reissuePrize.d.ts
0 → 100644
src/model/resultantCard.d.ts
0 → 100644
src/model/startAnswer.d.ts
0 → 100644
src/model/startGame.d.ts
0 → 100644
src/model/submitAnswer.d.ts
0 → 100644
src/model/submitGame.d.ts
0 → 100644
src/pages/Home/index.tsx
0 → 100644
src/pages/Info/index.tsx
0 → 100644
src/typings/type.d.ts
0 → 100644
src/utils/auth.ts
0 → 100644
src/utils/index.ts
0 → 100644
src/utils/mock.ts
0 → 100644
src/utils/request.ts
0 → 100644
tsconfig.json
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment