Skip to content

Instantly share code, notes, and snippets.

@neroze
Created June 21, 2017 04:32
Show Gist options
  • Save neroze/63c77d9e62226b60f61371df4abada6d to your computer and use it in GitHub Desktop.
Save neroze/63c77d9e62226b60f61371df4abada6d to your computer and use it in GitHub Desktop.
Basic package.js boiler for reactjs kick start
{
"name": "react-hello-world",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node server.js",
"build": "cross-env BABEL_ENV=production ./node_modules/.bin/webpack --config webpack.config.production.js",
"lint": "eslint --cache --ignore-path .gitignore --format=node_modules/eslint-formatter-pretty . *.js",
"test": "npm run lint"
},
"author": "",
"license": "ISC",
"dependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^6.2.8",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"recompose": "^0.23.5",
"webpack": "^1.13.3"
},
"devDependencies": {
"gulp-connect": "^5.0.0",
"gulp-minify": "0.0.14",
"gulp-uglify": "^2.0.0",
"gulp-util": "^3.0.7",
"gulp-watch": "^4.3.11",
"uglify-js": "^2.7.5",
"unminified-webpack-plugin": "^1.1.1",
"webpack-dev-server": "^1.16.2",
"webpack-stream": "^3.2.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment