Created
March 13, 2017 23:24
-
-
Save deecewan/e672e432d9963b39473cfad347b898f5 to your computer and use it in GitHub Desktop.
The files it takes for me to start a new JS lib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser": "babel-eslint", | |
"extends": "airbnb" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ignore] | |
[include] | |
[libs] | |
[options] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you ls -lah the node-modules dir after a fresh install for me plz x0xo