Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove lib folder and exclude compiled code from repository
  • Loading branch information
exah committed Dec 7, 2016
commit 03472f49e78d042625f81e812c0c19e7819fb8d5
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
npm-debug.log*
dist
121 changes: 0 additions & 121 deletions lib/index.js

This file was deleted.

103 changes: 0 additions & 103 deletions lib/utils.js

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"description": "Restrict a draft-js editor to a single line of input.",
"main": "lib/index.js",
"scripts": {
"build": "babel src --out-dir lib",
"build": "babel src --out-dir dist",
"compile": "npm run build",
"precompile": "npm run clean",
"prepublish": "npm run compile",
"test": "NODE_ENV=test babel-node test | faucet",
"posttest": "npm run lint",
"clean": "rm -rf ./lib/*",
"clean": "rm -rf ./dist/*",
"lint": "eslint 'src/*.js' 'src/**/*.js'; exit 0"
},
"repository": {
Expand Down