faster-react-tabs
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "faster-react-tabs", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A faster React tab component that doesn't use DOM refs. Written in ES6, transpiles down to ES5", | ||
"main": "dist/bundle.min.js", | ||
"main": "lib/components/tabs/index.js", | ||
"repository": { | ||
@@ -11,3 +11,3 @@ "type": "git", | ||
"scripts": { | ||
"build": "rm -Rf dist/ && mkdir dist && node node_modules/webpack/bin/webpack --optimize-minimize --progress --colors && cp example/index.html dist/ && cp example/bundle.min.js dist/ && node node_modules/node-sass/bin/node-sass --output-style compressed example/scss/index.scss example/css/index.css && mkdir -p dist/css && cp example/css/* dist/css/ && mkdir -p dist/images && cp example/images/* dist/images/", | ||
"build": "babel src/ -d lib/ && rm -Rf dist/ && mkdir dist && node node_modules/webpack/bin/webpack --optimize-minimize --progress --colors && cp src/example/index.html dist/ && cp src/example/bundle.min.js dist/ && node node_modules/node-sass/bin/node-sass --output-style compressed src/example/scss/index.scss src/example/css/index.css && mkdir -p dist/css && cp src/example/css/* dist/css/ && mkdir -p dist/images && cp src/example/images/* dist/images/", | ||
"watch": "node node_modules/webpack-dev-server/bin/webpack-dev-server --content-base dist/", | ||
@@ -24,5 +24,6 @@ "test": "echo \"Error: no test specified\" && exit 1", | ||
"devDependencies": { | ||
"babel-core": "^5.1.9", | ||
"babel-loader": "^5.0.0", | ||
"es6-symbol": "^2.0.1", | ||
"babel-core": "^6.4.5", | ||
"babel-loader": "^6.2.1", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-react": "^6.3.13", | ||
"jsx-loader": "^0.13.1", | ||
@@ -34,2 +35,8 @@ "node-sass": "^3.2.0", | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"es2015", | ||
"react" | ||
] | ||
}, | ||
"keywords": [ | ||
@@ -41,3 +48,8 @@ "react", | ||
"tabs" | ||
] | ||
], | ||
"browserify": { | ||
"transform": [ | ||
"reactify" | ||
] | ||
} | ||
} |
@@ -1,6 +0,4 @@ | ||
var jsxLoaders = ['babel-loader?stage=1']; | ||
module.exports = { | ||
cache: true, | ||
entry: './example/app', | ||
entry: './src/example/app', | ||
output: { | ||
@@ -16,3 +14,3 @@ filename: 'example/bundle.min.js' | ||
loaders: [ | ||
{ test: /\.jsx$/, loaders: jsxLoaders }, | ||
{ test: /\.jsx$/, loaders: ['babel-loader'] }, | ||
] | ||
@@ -19,0 +17,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1248060
41
2612
9
1