Skip to content

Commit 0c28d1b

Browse files
refactor (update settings)
1 parent 538b3a2 commit 0c28d1b

File tree

5 files changed

+25
-24
lines changed

5 files changed

+25
-24
lines changed

.eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
coverage/
3-
build/
3+
dist/

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2-
build
2+
lib
33
node_modules
44
*.log
5+
.idea/

.npmignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
.babelrc
22
lib
3-
CODE_OF_CONDUCT.md

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+21-20
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-data-export",
3-
"version": "0.1.1",
4-
"main": "lib/index.js",
3+
"version": "0.2.0",
4+
"main": "dist/index.js",
55
"description": "A set of tools to export dataset from react to different formats.",
66
"repository": {
77
"type": "git",
@@ -20,30 +20,31 @@
2020
},
2121
"homepage": "https://github.com/securedeveloper/react-data-export#readme",
2222
"devDependencies": {
23-
"babel-cli": "^6.26.0",
24-
"babel-core": "^6.26.0",
25-
"babel-eslint": "^8.0.1",
26-
"babel-plugin-transform-class-properties": "^6.24.1",
27-
"babel-preset-es2015": "^6.24.1",
28-
"babel-preset-react": "^6.24.1",
29-
"eslint": "^4.8.0",
30-
"eslint-plugin-import": "^2.7.0",
31-
"eslint-plugin-jsx-a11y": "^6.0.2",
32-
"eslint-plugin-react": "^7.4.0",
33-
"eslint-watch": "^3.1.3",
34-
"prop-types": "^15.6.0",
35-
"react": "^16.0.0",
36-
"react-dom": "^16.0.0"
23+
"babel-cli": "6.26.0",
24+
"babel-core": "6.26.0",
25+
"babel-eslint": "8.0.1",
26+
"babel-plugin-transform-class-properties": "6.24.1",
27+
"babel-preset-es2015": "6.24.1",
28+
"babel-preset-react": "6.24.1",
29+
"eslint": "4.8.0",
30+
"eslint-plugin-import": "2.7.0",
31+
"eslint-plugin-jsx-a11y": "6.0.2",
32+
"eslint-plugin-react": "7.4.0",
33+
"eslint-watch": "3.1.3",
34+
"prop-types": "15.6.0",
35+
"react": "16.0.0",
36+
"react-dom": "16.0.0"
3737
},
3838
"scripts": {
39-
"build": "babel lib -d build",
40-
"build:watch": "babel lib -w -d build",
39+
"clean": "rm -rf ./dist && mkdir ./dist",
40+
"build": "babel -d ./dist ./lib",
41+
"build:watch": "babel -w -d -d ./dist ./lib ",
4142
"lint": "eslint .",
4243
"lint:watch": "esw -w lib/**",
4344
"prepublish": "npm run build"
4445
},
4546
"dependencies": {
46-
"file-saver": "^1.3.3",
47-
"xlsx": "^0.11.5"
47+
"file-saver": "1.3.3",
48+
"xlsx": "0.11.5"
4849
}
4950
}

0 commit comments

Comments
 (0)