diff --git a/.eslintrc.json b/.eslintrc.json index 2c97bfa..e16dff5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -88,7 +88,9 @@ "error", { "selector": "interface", - "format": ["PascalCase"], + "format": [ + "PascalCase" + ], "custom": { "regex": "^I[A-Z]", "match": true @@ -96,4 +98,4 @@ } ] } -} \ No newline at end of file +} diff --git a/babel.config.js b/babel.config.js index cdc3e11..315281d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,30 +1,24 @@ module.exports = { - presets: [ - [ - '@babel/preset-env', - { - targets: { - node: 'current', - }, - }, - ], - '@babel/preset-flow', - '@babel/preset-react', - '@babel/typescript', - ], - plugins: [ - '@babel/plugin-proposal-class-properties', - '@babel/proposal-object-rest-spread', - '@babel/plugin-syntax-dynamic-import', - '@babel/plugin-transform-react-inline-elements', - 'react-html-attrs', - 'transform-class-properties', - [ - 'i18next-extract', { - locales: ['ja', 'en'], - outputPath: './src/locales/{{locale}}.json', + presets: [ + [ + '@babel/preset-env', + { + targets: { + node: 'current', }, - ], + }, ], - ignore: ['node_modules', 'build', 'distDev', 'distProd'], + '@babel/preset-flow', + '@babel/preset-react', + '@babel/typescript', + ], + plugins: [ + '@babel/plugin-proposal-class-properties', + '@babel/proposal-object-rest-spread', + '@babel/plugin-syntax-dynamic-import', + '@babel/plugin-transform-react-inline-elements', + 'react-html-attrs', + 'transform-class-properties', + ], + ignore: ['node_modules', 'build', 'distDev', 'distProd'], }; diff --git a/package.json b/package.json index 7b4e251..b39d0b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/hello-genetic-algorithm", - "version": "0.1.1", + "version": "0.1.2", "description": "Hello Genetic Algorithm", "author": { "name": "Technote", @@ -8,7 +8,7 @@ "url": "https://technote.space" }, "keywords": [ - "automatic programming" + "genetic algorithm" ], "homepage": "https://github.com/technote-space/hello-genetic-algorithm", "repository": { @@ -21,14 +21,12 @@ "main": "build/index.js", "dependencies": { "@material-ui/core": "^4.11.0", - "@material-ui/icons": "^4.9.1", - "@technote-space/ga-framework": "^0.14.0", + "@technote-space/ga-framework": "^0.14.2", "@technote-space/genetic-algorithms-js": "^0.8.2", "axios": "^0.19.2", "encoding-japanese": "^1.0.30", "fast-levenshtein": "^3.0.0", "file-saver": "^2.0.2", - "prop-types": "^15.7.2", "react": "^16.13.1", "react-dom": "^16.13.1", "sprintf-js": "^1.1.2" @@ -50,7 +48,6 @@ "@typescript-eslint/eslint-plugin": "^3.7.1", "@typescript-eslint/parser": "^3.7.1", "babel-loader": "^8.1.0", - "babel-plugin-i18next-extract": "^0.7.2", "babel-plugin-react-html-attrs": "^3.0.5", "babel-plugin-transform-class-properties": "^6.24.1", "copy-webpack-plugin": "^6.0.3", diff --git a/yarn.lock b/yarn.lock index b4fbe9b..43c4710 100644 --- a/yarn.lock +++ b/yarn.lock @@ -18,7 +18,7 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@^7.11.0", "@babel/core@^7.4.5": +"@babel/core@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.0.tgz#73b9c33f1658506887f767c26dae07798b30df76" integrity sha512-mkLq8nwaXmDtFmRkQ8ED/eA2CnVw4zr7dCztKalZXBvdK5EeNUAesrrwUqjQEzFgomJssayzB0aqlOsP1vGLqg== @@ -932,7 +932,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-transform-typescript" "^7.10.4" -"@babel/runtime@^7.10.1", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.6": +"@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.6": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.0.tgz#f10245877042a815e07f7e693faff0ae9d3a2aac" integrity sha512-qArkXsjJq7H+T86WrIFV0Fnu/tNOkZ4cgXmjkzAu3b/58D5mFIO8JH/y77t7C9q0OdDRdh9s7Ue5GasYssxtXw== @@ -1289,10 +1289,10 @@ dependencies: mkdirp "^1.0.4" -"@technote-space/ga-framework@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@technote-space/ga-framework/-/ga-framework-0.14.0.tgz#05f84295994ffa96b76fc83c2a12a6ea600a61b6" - integrity sha512-83Jh0yFdXaYDiznGT+VJ1MLdigT0xfaAV9FMTXnIfP8ounFd/dd0PADQl2ndKH6nWBhJaTUBbtidDDwRyKnbIw== +"@technote-space/ga-framework@^0.14.2": + version "0.14.2" + resolved "https://registry.yarnpkg.com/@technote-space/ga-framework/-/ga-framework-0.14.2.tgz#ce9528d47119387f773466caf2dabec344275d87" + integrity sha512-aNfa9Vfs7YkCMdpHbR+Q7tVx3CP+0mcyBglMV8bWwQpUCzJ4TWSPs8620fp1Y5SvYrbggxvTKz9FDuBD75qCXw== dependencies: "@egjs/hammerjs" "^2.0.17" "@material-ui/core" "^4.11.0" @@ -2030,16 +2030,6 @@ babel-plugin-dynamic-import-node@^2.3.3: dependencies: object.assign "^4.1.0" -babel-plugin-i18next-extract@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/babel-plugin-i18next-extract/-/babel-plugin-i18next-extract-0.7.2.tgz#846e80e56e48061dae272da1c14a26b3bbf25a76" - integrity sha512-N9lzxhyuzdF7qtQAzrOAPMhweptI8BF1IVRGF5aS0IV2kSs8mEcn2kc4Sp/nn9crSaCRPgDmHj7Ghl6CnZy7GA== - dependencies: - "@babel/core" "^7.4.5" - "@babel/types" "^7.4.4" - i18next "^19.0.0" - json-stable-stringify "^1.0.1" - babel-plugin-react-html-attrs@^3.0.5: version "3.0.5" resolved "https://registry.yarnpkg.com/babel-plugin-react-html-attrs/-/babel-plugin-react-html-attrs-3.0.5.tgz#a4948301a3b5970cfa18cb586b220be98d5ac5e0" @@ -4519,13 +4509,6 @@ hyphenate-style-name@^1.0.3: resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d" integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ== -i18next@^19.0.0: - version "19.6.3" - resolved "https://registry.yarnpkg.com/i18next/-/i18next-19.6.3.tgz#ce2346161b35c4c5ab691b0674119c7b349c0817" - integrity sha512-eYr98kw/C5z6kY21ti745p4IvbOJwY8F2T9tf/Lvy5lFnYRqE45+bppSgMPmcZZqYNT+xO0N0x6rexVR2wtZZQ== - dependencies: - "@babel/runtime" "^7.10.1" - iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -4970,13 +4953,6 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= -json-stable-stringify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" - integrity sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8= - dependencies: - jsonify "~0.0.0" - json3@^3.3.2: version "3.3.3" resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" @@ -5003,11 +4979,6 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" -jsonify@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" - integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= - jsonparse@^1.2.0: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" @@ -5942,9 +5913,9 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0: wrappy "1" onetime@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.0.tgz#fff0f3c91617fe62bb50189636e99ac8a6df7be5" - integrity sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== + version "5.1.1" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.1.tgz#5c8016847b0d67fcedb7eef254751cfcdc7e9418" + integrity sha512-ZpZpjcJeugQfWsfyQlshVoowIIQ1qBGSVll4rfDq6JJVO//fesjoX808hXWfBjY+ROZgpKDI5TRSRBSoJiZ8eg== dependencies: mimic-fn "^2.1.0"