Comparing version 0.4.2 to 0.5.0
{ | ||
"name": "chnl", | ||
"version": "0.4.2", | ||
"version": "0.5.0", | ||
"description": "Implementation of event channels compatible with Chrome extensions events API", | ||
"main": "./es5/index.js", | ||
"main": "./dist/bundle.umd.js", | ||
"types": "./types/index.d.js", | ||
@@ -12,6 +12,5 @@ "author": { | ||
"scripts": { | ||
"eslint": "eslint src test", | ||
"check-deps": "check-dependencies", | ||
"code": "npm run check-deps && npm run eslint", | ||
"code": "eslint src test", | ||
"test": "ava", | ||
"build": "rollup -c", | ||
"ci": "npm run code && npm test", | ||
@@ -23,5 +22,2 @@ "coveralls": "coveralls < coverage/lcov.info", | ||
"docs-commit": "npm run docs && git add docs && git commit -m\"docs\"", | ||
"clear": "rm -rf ./es5", | ||
"babel": "babel ./src --out-dir ./es5", | ||
"build": "npm run clear && npm run babel", | ||
"prerelease": "npm run code && npm run build && npm run test", | ||
@@ -31,5 +27,3 @@ "release": "npm version $VER && npm publish", | ||
"release-patch": "VER=patch npm run release", | ||
"release-minor": "VER=minor npm run release", | ||
"precommit": "lint-staged && npm test", | ||
"prepush": "npm run code && npm test" | ||
"release-minor": "VER=minor npm run release" | ||
}, | ||
@@ -39,18 +33,24 @@ "lint-staged": { | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged && npm test", | ||
"pre-push": "npm run code && npm test" | ||
} | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.25.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^9.0.0", | ||
"babel-plugin-add-module-exports": "^1.0.0", | ||
"babel-preset-es2015": "^6.14.0", | ||
"babel-register": "^6.26.0", | ||
"check-dependencies": "^1.1.0", | ||
"coveralls": "^3.0.2", | ||
"documentation": "^8.1.2", | ||
"eslint": "^5.5.0", | ||
"eslint-plugin-ava": "^5.1.1", | ||
"eslint-plugin-babel": "^5.2.0", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^7.2.2", | ||
"sinon": "^6.2.0" | ||
"@babel/preset-env": "^7.4.5", | ||
"@babel/register": "^7.4.4", | ||
"ava": "^2.1.0", | ||
"babel-eslint": "^10.0.1", | ||
"coveralls": "^3.0.4", | ||
"documentation": "^11.0.1", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-ava": "^7.1.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"husky": "^2.4.1", | ||
"lint-staged": "^8.2.0", | ||
"rollup": "^1.15.2", | ||
"rollup-plugin-babel": "^4.3.2", | ||
"rollup-plugin-banner": "^0.2.0", | ||
"sinon": "^7.3.2" | ||
}, | ||
@@ -64,3 +64,5 @@ "ava": { | ||
], | ||
"require": "babel-register", | ||
"require": [ | ||
"./test/_register.js" | ||
], | ||
"verbose": true | ||
@@ -67,0 +69,0 @@ }, |
@@ -20,2 +20,6 @@ | ||
unmute(): void; | ||
onListenerAdded: Channel; | ||
onListenerRemoved: Channel; | ||
onFirstListenerAdded: Channel; | ||
onLastListenerRemoved: Channel; | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1437
44738
17
1