diff --git a/.npmignore b/.npmignore index 281df39..c780fca 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,10 @@ src test +coverage +reports +karma.conf.js +node_modules +README.md +package-lock.json +*.tgz +yarn* diff --git a/package.json b/package.json index 2d7094b..e187205 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { "name": "angular-ys-factory-keyboard", - "version": "1.0.8", + "version": "1.0.9", "description": "Angular factory to check keyboard event press button", "main": "dist/angular-ys-factory-keyboard.js", "dependencies": { "angular": "1.3.20", "jquery": "1.12.0", - "mkdirp": "^0.5.1" + "mkdirp": "^0.5.1", + "rimraf": "^2.6.2" }, "devDependencies": { "angular-mocks": "1.3.20", @@ -27,13 +28,13 @@ "mocha": "^4.0.1" }, "scripts": { + "clean": "./node_modules/.bin/rimraf dist coverage reports *.tgz yarn* package-lock.json", "prepublish": "yarn run compile", "precompile": "./node_modules/.bin/mkdirp dist", "compile": "./node_modules/.bin/babel --presets env,babili --out-file $npm_package_main src", "test": "./node_modules/.bin/karma start --single-run --browser PhantomJS", "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" }, - "repository": "git+https://github.com/yadickson/angular-ys-factory-keyboard.git", "keywords": [ "angular", "yadickson",