compile with babel

This commit is contained in:
Chun-MingChen 2017-12-25 00:08:40 +08:00
parent 383cfbab57
commit a37ef6883d
7 changed files with 36 additions and 11 deletions

3
.gitignore vendored
View File

@ -18,3 +18,6 @@ yarn-error.log*
# gh-pages
storybook-static
# build
lib

View File

@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"postinstall": "lerna bootstrap",
"publish": "lerna run build && lerna publish --silent",
"start": "node -r babel-register ./node_modules/.bin/webpack-dev-server --config webpack.config.babel.js",
"lint": "eslint ./packages --ext .js --ext .jsx --ignore-path .gitignore",
"pretest": "yarn lint --cache",

View File

@ -3,6 +3,7 @@
"version": "0.0.1",
"description": "",
"main": "index.js",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook -p 6006",

View File

@ -2,10 +2,15 @@
"name": "react-bootstrap-table2-filter",
"version": "0.0.1",
"description": "it's the column filter addon for react-bootstrap-table2",
"main": "src/index.js",
"main": "./lib",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "yarn build",
"build": "rimraf ./lib && babel ./src -d lib"
},
"author": "",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"babel-cli": "6.26.0",
"rimraf": "2.6.2"
}
}

View File

@ -2,13 +2,18 @@
"name": "react-bootstrap-table2-overlay",
"version": "0.0.1",
"description": "it's a loading overlay component for react-bootstrap-table2",
"main": "src/index.js",
"main": "./lib",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "yarn build",
"build": "rimraf ./lib && babel ./src -d lib"
},
"author": "",
"license": "ISC",
"dependencies": {
"react-loading-overlay": "0.2.8"
},
"devDependencies": {
"babel-cli": "6.26.0",
"rimraf": "2.6.2"
}
}

View File

@ -2,10 +2,15 @@
"name": "react-bootstrap-table2-paginator",
"version": "0.0.1",
"description": "it's the pagination addon for react-bootstrap-table2",
"main": "src/index.js",
"main": "./lib",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "yarn build",
"build": "rimraf ./lib && babel ./src -d lib"
},
"author": "",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"babel-cli": "6.26.0",
"rimraf": "2.6.2"
}
}

View File

@ -2,10 +2,15 @@
"name": "react-bootstrap-table2",
"version": "0.0.1",
"description": "Rebuilt for react-bootstrap-table",
"main": "src/index.js",
"main": "./lib",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "yarn build",
"build": "rimraf ./lib && babel ./src -d lib"
},
"author": "",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"babel-cli": "6.26.0",
"rimraf": "2.6.2"
}
}