Skip to content

Commit

Permalink
add prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
lynchem committed Oct 27, 2022
1 parent 88e15d2 commit 059fe48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simpl-schema",
"version": "0.0.0-development",
"version": "1.0.0",
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.",
"author": "Eric Dobbertin <[email protected]>",
"license": "MIT",
Expand All @@ -22,10 +22,9 @@
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"scripts": {
"build": "rm -rf dist/** && babel package/lib --out-dir dist --ignore 'package/lib/**/*.tests.js,package/lib/testHelpers/*'",
"copyFiles": "cp ../README.md ./README.md && cp ../LICENSE ./LICENSE",
"lint": "eslint .",
"lintAndTest": "npm run lint && npm test",
"prepublishOnly": "npm run copyFiles && npm run build",
"prepare": "npm run build",
"test": "mocha --require @babel/register --recursive \"package/lib/**/*.tests.js\"",
"test:file": "mocha --require @babel/register --watch",
"test:watch": "npm test -- --watch"
Expand Down

0 comments on commit 059fe48

Please sign in to comment.