From a6dcb66f9e9c0d90bbc445131c075ac5967760b5 Mon Sep 17 00:00:00 2001 From: Gilles Coomans Date: Tue, 11 Jul 2017 16:56:05 +0200 Subject: [PATCH] fix(package): update package infos and lint --- package.json | 141 +++++++++++++++++++++++++++------------------------ 1 file changed, 75 insertions(+), 66 deletions(-) diff --git a/package.json b/package.json index 38574f1..114bd1f 100644 --- a/package.json +++ b/package.json @@ -1,68 +1,77 @@ { - "name": "clean-embed-video", - "version": "0.1.0", - "description": "Embed video/media frame easily. (youtube, vimeo, soundcloud, ...)", - "main": "dist/bundles/index.js", - "module": "dist/bundles/index.mjs", - "jsnext:main": "dist/bundles/index.mjs", - "scripts": { - "prebuild": "eslint src test", - "build": "npm run es5-build && npm run bundles-build && uglifyjs dist/bundles/index.js -m -o dist/bundles/index.min.js", - "es5-build": "babel src -d dist/es5", - "es5-watch": "babel src -d dist/es5 -w", - "bundles-build": "rollup -c", - "bundles-watch": "rollup -c -w", - "pretest": "npm run build", - "test": "mocha", - "karma": "karma start", - "cover": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha test/*.js", - "coveralls": "npm run cover && cat ./coverage/lcov.info | coveralls", - "prepublish": "npm test", - "release": "standard-version" - }, - "nyc": { - "require": [ - "babel-register" - ], - "sourceMap": false, - "instrument": false - }, - "keywords": [ - "youtube", - "vimeo", - "soundcloud", - "embed" - ], - "author": "Gilles Coomans", - "license": "MIT", - "dependencies": {}, - "devDependencies": { - "assert": "^1.4.1", - "babel-cli": "^6.14.0", - "babel-plugin-external-helpers": "^6.22.0", - "babel-plugin-istanbul": "^4.1.1", - "babel-plugin-unassert": "^2.1.2", - "babel-preset-es2015": "^6.14.0", - "babel-register": "^6.14.0", - "babelrc-rollup": "^3.0.0", - "chai": "^3.5.0", - "coveralls": "^2.13.0", - "cross-env": "^5.0.0", - "eslint": "^3.15.0", - "eslint-plugin-import": "^2.2.0", - "karma": "^1.4.1", - "karma-chai": "^0.1.0", - "karma-chrome-launcher": "^2.0.0", - "karma-mocha": "^1.3.0", - "karma-rollup-preprocessor": "^4.0.0", - "mocha": "^3.2.0", - "nyc": "^10.2.0", - "rollup": "^0.41.6", - "rollup-plugin-babel": "^2.7.1", - "rollup-plugin-commonjs": "^8.0.2", - "rollup-plugin-node-resolve": "^3.0.0", - "rollup-watch": "^3.2.2", - "standard-version": "^4.0.0", - "uglify-js": "^3.0.3" - } + "name": "clean-embed-video", + "version": "0.1.0", + "description": "Embed video/media frame easily. (youtube, vimeo, soundcloud, ...)", + "main": "dist/bundles/index.js", + "module": "dist/bundles/index.mjs", + "jsnext:main": "dist/bundles/index.mjs", + "scripts": { + "prebuild": "eslint src test", + "build": "npm run es5-build && npm run bundles-build && uglifyjs dist/bundles/index.js -m -o dist/bundles/index.min.js", + "es5-build": "babel src -d dist/es5", + "es5-watch": "babel src -d dist/es5 -w", + "bundles-build": "rollup -c", + "bundles-watch": "rollup -c -w", + "pretest": "npm run build", + "test": "mocha", + "karma": "karma start", + "cover": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha test/*.js", + "coveralls": "npm run cover && cat ./coverage/lcov.info | coveralls", + "prepublish": "npm test", + "release": "standard-version" + }, + "nyc": { + "require": [ + "babel-register" + ], + "sourceMap": false, + "instrument": false + }, + "keywords": [ + "youtube", + "vimeo", + "soundcloud", + "embed" + ], + "author": "Gilles Coomans", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/nomocas/clean-embed-video.git" + }, + "bugs": { + "url": "https://github.com/nomocas/clean-embed-video/issues" + }, + "homepage": "https://github.com/nomocas/clean-embed-video#readme", + "dependencies": {}, + "devDependencies": { + "assert": "^1.4.1", + "babel-cli": "^6.14.0", + "babel-plugin-external-helpers": "^6.22.0", + "babel-plugin-istanbul": "^4.1.1", + "babel-plugin-unassert": "^2.1.2", + "babel-preset-es2015": "^6.14.0", + "babel-register": "^6.14.0", + "babelrc-rollup": "^3.0.0", + "chai": "^3.5.0", + "coveralls": "^2.13.0", + "cross-env": "^5.0.0", + "eslint": "^3.15.0", + "eslint-plugin-import": "^2.2.0", + "karma": "^1.4.1", + "karma-chai": "^0.1.0", + "karma-chrome-launcher": "^2.0.0", + "karma-mocha": "^1.3.0", + "karma-rollup-preprocessor": "^4.0.0", + "mocha": "^3.2.0", + "nyc": "^10.2.0", + "rollup": "^0.41.6", + "rollup-plugin-babel": "^2.7.1", + "rollup-plugin-commonjs": "^8.0.2", + "rollup-plugin-node-resolve": "^3.0.0", + "rollup-watch": "^3.2.2", + "standard-version": "^4.0.0", + "uglify-js": "^3.0.3" + } } +