diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-02-03 13:30:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 13:30:27 +0000 |
commit | 989173ea6e39ac27893f3cc5efba043ebda9df67 (patch) | |
tree | 4281d872404091155d1ddeaa5727bc5fb51fdd8a /package.json | |
parent | 53143dfc36e66e285256706a8ec837e2bd2f8427 (diff) | |
parent | 5bcc9b41e59bf7215abf395ea899cdbc2d06db9a (diff) | |
download | react-benzin-989173ea6e39ac27893f3cc5efba043ebda9df67.tar.gz |
Merge pull request #2 from eug-vs/typescript
Add Typescript support
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package.json b/package.json index 6fb756f..e663a8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-benzin", - "version": "1.0.1", + "version": "2.0.0", "description": "A powerful React Material components library.", "main": "dist/index.js", "module": "dist/index.js", @@ -11,8 +11,8 @@ "scripts": { "start": "react-scripts start", "test": "eslint .", - "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files", - "deploy": "npm test && npm run build && npm publish --public" + "build": "rm -rf dist && tsc --project ts-compile-config.json", + "deploy": "eslint src/lib && npm run build && npm publish --public" }, "license": "MIT", "dependencies": { @@ -26,9 +26,9 @@ "typeface-roboto": "0.0.75" }, "devDependencies": { - "@babel/cli": "^7.8.3", - "@babel/core": "^7.8.3", - "@babel/preset-react": "^7.8.3", + "@types/node": "^13.5.0", + "@types/react": "^16.9.19", + "@types/react-dom": "^16.9.5", "eslint": "^6.8.0", "eslint-config-react-app": "^5.1.0", "typescript": "^3.7.5" |