Skip to content

Commit

Permalink
Fix vulnerabilities, run browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Sep 15, 2019
1 parent 90eb0bc commit 17e3118
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions package.json
Expand Up @@ -29,31 +29,27 @@
"dependencies": {},
"devDependencies": {
"benchmark": "^2.1.1",
"browserify": "^14.4.0",
"browserify": "^16.5.0",
"check-compose": "^5.0.0",
"eslint": "^6.4.0",
"gzip-size-cli": "^2.1.0",
"lodash": "^4.16.1",
"lodash": "^4.17.15",
"mkdirp": "^0.5.1",
"nyc": "^14.1.1",
"require-all": "^2.2.0",
"rimraf": "^2.3.4",
"tape": "^4.2.2",
"uglify-js": "^2.8.29",
"watch": "^1.0.1"
"uglify-js": "^2.8.29"
},
"scripts": {
"cov": "nyc npm run test",
"pretest": "npm run build",
"test": "node test",
"posttest": "node test/benchmark",
"browsertest": "mkdirp ./dist/ && browserify ./test/index.js -t [ babelify --presets [ env ] ] > dist/test_bundle.js && cp ./test/index.html ./dist/ && open ./dist/index.html",
"clean": "rimraf dist/*",
"browsertest": "mkdirp ./dist/ && browserify ./test/index.js > dist/test_bundle.js && cp ./test/index.html ./dist/ && open ./dist/index.html",
"lint": "eslint ./src/ ./test/",
"prebuild": "npm run clean",
"prebuild": "rm -rf ./dist/*",
"build": "npm run minify",
"check": "npm run test && npm run lint",
"watch": "watch 'clear && npm -s test' test/ src/",
"minify": "mkdirp ./dist/ && uglifyjs src/stampit.js -c collapse_vars,evaluate=false,screw_ie8,unsafe,loops=false,keep_fargs=false,pure_getters,unused,dead_code,keep_fnames=[\"'stampit','Stamp'\"] -m --reserved stampit,Stamp -o dist/stampit.min.js",
"preversion": "npm run check",
"postversion": "V=`node -e \"process.stdout.write(require('./package.json').version)\"` && sed s/VERSION/$V/g dist/stampit.min.js > dist/tmp && rm dist/stampit.min.js && mv dist/tmp dist/stampit.min.js",
Expand Down

0 comments on commit 17e3118

Please sign in to comment.