UNPKG

javascript-library

Version:
85 lines 2.5 kB
{ "name": "javascript-library", "version": "1.5.0", "description": "POC for npm package publishing and deploy", "main": "dist/index.js", "scripts": { "commit": "git-cz", "check-coverage": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100", "report-coverage:codecov": "cat ./coverage/lcov.info | codecov", "report-coverage:codacy": "cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage", "start": "npm run test", "watch:test": "npm t -- --watch", "test": "mocha src/index.test.js --compilers js:babel-register", "cover": "nyc --reporter=lcov npm t && nyc report", "prebuild": "rimraf dist", "build": "npm-run-all --parallel build:*", "build:main": "babel --copy-files --out-dir dist --ignore *.test.js src", "build:umd": "webpack --output-filename index.umd.js", "build:umd.min": "webpack --output-filename index.umd.min.js -p", "validate": "npm run cover && npm run check-coverage", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "repository": { "type": "git", "url": "https://github.com/FiF0o/javascript-library-POC.git" }, "keywords": [ "poc", "deploy", "npm", "package" ], "files": [ "dist", "README.md" ], "author": "Jon Laz <jonathan.lazarini@wanadoo.fr>", "license": "ISC", "bugs": { "url": "https://github.com/FiF0o/javascript-library-POC/issues" }, "homepage": "https://github.com/FiF0o/javascript-library-POC#readme", "dependencies": { "babel-polyfill": "6.22.0", "unique-random-array": "1.0.0" }, "devDependencies": { "babel-cli": "6.22.2", "babel-core": "6.22.1", "babel-loader": "6.2.10", "babel-preset-es2015": "6.22.0", "babel-preset-stage-2": "6.22.0", "babel-register": "6.22.0", "chai": "3.5.0", "codecov.io": "0.1.6", "commitizen": "2.9.5", "coveralls": "2.11.16", "cz-conventional-changelog": "1.2.0", "ghooks": "2.0.0", "istanbul": "0.4.5", "jsdoc": "3.4.3", "json-loader": "0.5.4", "mocha": "3.2.0", "npm-run-all": "4.0.1", "nyc": "10.1.2", "path": "0.12.7", "rimraf": "2.5.4", "semantic-release": "6.3.2", "webpack": "2.2.1" }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" }, "ghooks": { "pre-commit": "npm run validate" } }, "babel": { "presets": [ "es2015", "stage-2" ] } }