UNPKG

pico-signals

Version:

A very simple signal library inspired by the 'signals' package

73 lines (72 loc) 1.79 kB
{ "name": "pico-signals", "version": "1.0.0", "description": "A very simple signal library inspired by the 'signals' package", "keywords": [ "pico", "signals", "listeners", "set", "events", "emitters", "callbacks", "observer" ], "author": "Paulo Marcos <paulo.marcos@moxy.studio>", "homepage": "https://github.com/moxystudio/js-pico-signals", "repository": { "type": "git", "url": "git+https://github.com/moxystudio/js-pico-signals.git" }, "license": "MIT", "main": "lib/index.js", "module": "es/index.js", "files": [ "lib", "es" ], "scripts": { "build:commonjs": "BABEL_ENV=commonjs babel index.js -d lib", "build:es": "BABEL_ENV=es babel index.js -d es", "build": "npm run build:commonjs && npm run build:es", "lint": "eslint --ignore-path .gitignore .", "test": "jest --coverage", "prerelease": "npm t && npm run lint && npm run build", "release": "standard-version" }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged" } }, "standard-version": { "scripts": { "posttag": "git push --follow-tags origin master" } }, "lint-staged": { "*.js": [ "eslint --fix --ignore-pattern test/fixtures", "git add" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.4", "@commitlint/cli": "^7.0.0", "@commitlint/config-conventional": "^7.0.0", "babel-preset-moxy": "^3.0.4", "eslint": "^5.13.0", "eslint-config-moxy": "^7.0.1", "husky": "^1.3.1", "jest": "^24.1.0", "lint-staged": "^8.1.4", "standard-version": "^5.0.0" } }