diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-28 11:40:00 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-28 11:41:09 +0300 |
commit | 9e7d76ec0360208f3333a7af61bd0e5ddeecfba4 (patch) | |
tree | 7d354fe3609e439662ff8f76de566faeabe5a653 | |
parent | 386e4c97fd803aa54e96bf56711d4a6a8873489a (diff) | |
download | react-benzin-9e7d76ec0360208f3333a7af61bd0e5ddeecfba4.tar.gz |
feat: configure ESlint
-rw-r--r-- | .eslintignore | 1 | ||||
-rw-r--r-- | package-lock.json | 10 | ||||
-rw-r--r-- | package.json | 5 |
3 files changed, 13 insertions, 3 deletions
diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..1521c8b --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +dist diff --git a/package-lock.json b/package-lock.json index 48bf1b1..51f722e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "react-benzin-test", - "version": "1.1.1", + "name": "react-benzin", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -13223,6 +13223,12 @@ "resolved": "https://registry.npmjs.org/typeface-roboto/-/typeface-roboto-0.0.75.tgz", "integrity": "sha512-VrR/IiH00Z1tFP4vDGfwZ1esNqTiDMchBEXYY9kilT6wRGgFoCAlgkEUMHb1E3mB0FsfZhv756IF0+R+SFPfdg==" }, + "typescript": { + "version": "3.7.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", + "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==", + "dev": true + }, "uglify-js": { "version": "3.4.10", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz", diff --git a/package.json b/package.json index a87fee1..6159728 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "module": "dist/index.js", "scripts": { "start": "react-scripts start", + "test": "eslint .", "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files" }, "license": "MIT", @@ -23,7 +24,9 @@ "@babel/cli": "^7.8.3", "@babel/core": "^7.8.3", "@babel/preset-react": "^7.8.3", - "eslint": "^6.8.0" + "eslint": "^6.8.0", + "eslint-config-react-app": "^5.1.0", + "typescript": "^3.7.5" }, "browserslist": { "production": [ |