Skip to content

Commit

Permalink
[Tests] add test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 18, 2018
1 parent 6b39b21 commit acf96e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"sanity": "babel-node test/sanity.js",
"pretests-only": "npm run build",
"tests-only": "babel-node test/sanity.js",
"build": "babel src --out-dir lib",
"lint": "eslint src/",
"prepublish": "npm run build"
"prepublish": "npm run build",
"pretest": "npm run lint",
"test": "npm run tests-only"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit acf96e2

Please sign in to comment.