Skip to content

Commit

Permalink
Update Translation & Remove React Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
kokororin committed Apr 16, 2020
1 parent a3a423c commit 12e8f32
Show file tree
Hide file tree
Showing 20 changed files with 224 additions and 1,177 deletions.
2 changes: 0 additions & 2 deletions .env

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ $ npm start

### Commands
- Install dependencies: `yarn`
- Run Back-end Server: `npm run backend:dev`
- Run Front-end Server: `npm start`
- Test: `npm test`
- Build Front-end: `npm run dist`
Expand Down
13 changes: 0 additions & 13 deletions jsconfig.json

This file was deleted.

27 changes: 4 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@
"predist": "npm run clean",
"dist": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig-node.json\" webpack --config build/webpack.config.ts",
"postdist": "copyfiles -f ./src/icons/*.ico ./src/icons/*.png ./dist/assets && copyfiles -f ./src/manifest.json ./CNAME ./dist",
"lint": "eslint --ext .ts,.tsx,.js,.jsx src test server",
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx --fix src test server",
"lint": "eslint --ext .ts,.tsx,.js,.jsx src test",
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx --fix src test",
"posttest": "npm run lint",
"start": "cross-env NODE_ENV=development TS_NODE_PROJECT=\"tsconfig-node.json\" webpack-dev-server --config build/webpack.config.ts",
"type:check": "tsc --noEmit",
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=\"tsconfig-node.json\" karma start",
"test:watch": "cross-env NODE_ENV=test TS_NODE_PROJECT=\"tsconfig-node.json\" karma start --autoWatch=true --singleRun=false",
"deploy": "gh-pages -d dist",
"coverage": "cat ./coverage/lcov.info | coveralls",
"backend:dev": "cross-env NODE_ENV=development nodemon --ext .ts --watch ./server --exec \"ts-node --project ./tsconfig-node.json ./server/server.ts\"",
"backend:prod": "cross-env NODE_ENV=production ts-node --project ./tsconfig-node.json -T ./server/server.ts",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
Expand All @@ -43,27 +41,21 @@
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@types/body-parser": "^1.19.0",
"@types/chai": "^4.2.9",
"@types/chai-as-promised": "^7.1.2",
"@types/classnames": "^2.2.9",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.2",
"@types/helmet": "^0.0.45",
"@types/jszip": "^3.1.7",
"@types/karma": "^4.4.0",
"@types/mocha": "^7.0.1",
"@types/react": "~16.9.34",
"@types/react-dom": "~16.9.6",
"@types/react-event-listener": "^0.4.9",
"@types/react-helmet": "^5.0.15",
"@types/react-intl": "^2.0.0",
"@types/react-modal": "^3.10.5",
"@types/react-intl": "^3.0.0",
"@types/react-redux": "^7.1.7",
"@types/react-router-config": "^5.0.1",
"@types/react-router-dom": "^5.1.3",
"@types/react-test-renderer": "^16.9.2",
"@types/response-time": "^2.3.4",
"@types/shortid": "^0.0.29",
"@types/store": "^2.0.2",
"@types/webpack": "^4.41.6",
Expand Down Expand Up @@ -99,7 +91,6 @@
"karma-sourcemap-loader": "^0.3.5",
"karma-webpack": "^4.0.2",
"mocha": "^7.0.1",
"nodemon": "^2.0.2",
"null-loader": "^3.0.0",
"open-browser-webpack-plugin": "^0.0.5",
"prettier": "^2.0.4",
Expand Down Expand Up @@ -127,22 +118,14 @@
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.49",
"animation-frame": "^0.3.0",
"body-parser": "^1.19.0",
"classnames": "^2.2.6",
"connect-timeout": "^1.9.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"helmet": "^3.21.2",
"honoka": "^0.4.19",
"inobounce": "^0.2.0",
"is-mobile": "^2.2.1",
"jszip": "^3.1.4",
"material-ui-image": "^3.2.2",
"moment": "^2.24.0",
"namespaced-types": "^0.1.2",
"node-cache": "^5.1.0",
"pixiv-app-api": "^1.0.4",
"prop-types": "^15.7.2",
"react": "~16.9.0",
"react-dom": "~16.9.0",
Expand All @@ -151,15 +134,13 @@
"react-helmet": "^6.0.0",
"react-hot-keys": "^2.5.2",
"react-image": "^2.4.0",
"react-intl": "^2.4.0",
"react-intl": "^4.4.0",
"react-masonry-component": "^6.2.1",
"react-modal": "^3.4.5",
"react-redux": "^7.2.0",
"react-router-config": "^5.1.1",
"react-router-dom": "^5.0.0",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",
"response-time": "^2.3.2",
"shortid": "^2.2.15",
"store": "^2.0.12",
"url-search-params-polyfill": "^8.0.0"
Expand Down
56 changes: 0 additions & 56 deletions server/app.ts

This file was deleted.

135 changes: 0 additions & 135 deletions server/routes/pixiv.ts

This file was deleted.

22 changes: 0 additions & 22 deletions server/server.ts

This file was deleted.

5 changes: 0 additions & 5 deletions server/utils/cache.ts

This file was deleted.

Loading

0 comments on commit 12e8f32

Please sign in to comment.