include browser bundles in npm package

master
Evgeny Poberezkin 2015-12-29 11:33:37 +00:00
parent a43a2d9a76
commit b3a737be89
1 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
{
"name": "ajv",
"version": "3.0.2",
"version": "3.0.3",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"files": [
"lib/",
"dist/",
"LICENSE",
".tonic_example.js"
],
@ -18,7 +19,7 @@
"build": "node scripts/compile-dots.js",
"test-browser": "npm run bundle && scripts/prepare-tests && karma start --single-run --browsers PhantomJS",
"test": "npm run jshint && npm run build && npm run test-cov && npm run test-browser",
"prepublish": "npm run build",
"prepublish": "npm run build && npm run bundle && mkdir -p dist && mv ajv.* dist",
"watch": "watch 'npm run build' ./lib/dot"
},
"repository": {