Skip to content

Instantly share code, notes, and snippets.

@deecewan
Created March 13, 2017 23:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deecewan/e672e432d9963b39473cfad347b898f5 to your computer and use it in GitHub Desktop.
Save deecewan/e672e432d9963b39473cfad347b898f5 to your computer and use it in GitHub Desktop.
The files it takes for me to start a new JS lib
{
"presets": [["env", {
"targets": {
"node": 6.9
}
}], "stage-0"],
"plugins": [
"babel-plugin-syntax-trailing-function-commas",
"babel-plugin-transform-class-properties",
"babel-plugin-transform-flow-strip-types",
"babel-plugin-transform-function-bind",
"babel-plugin-transform-object-rest-spread"
]
}
{
"parser": "babel-eslint",
"extends": "airbnb"
}
[ignore]
[include]
[libs]
[options]
{
"name": "<new-project-title>",
"version": "1.0.0",
"main": "lib/index.js",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-core": "^6.24.0",
"babel-eslint": "^7.1.1",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.2.1",
"babel-preset-stage-0": "^6.22.0",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"flow-bin": "^0.41.0",
"rimraf": "^2.6.1"
},
"dependencies": {
},
"scripts": {
"build": "babel -d lib/ src",
"build:watch": "yarn build -- --watch",
"clear": "rimraf lib/",
"flow": "flow",
"lint": "eslint",
"test": "test"
}
}
@Dombo
Copy link

Dombo commented Mar 14, 2017

Can you ls -lah the node-modules dir after a fresh install for me plz x0xo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment