125 lines
3.6 KiB
JSON
125 lines
3.6 KiB
JSON
{
|
|
"_from": "mitt@^1.1.3",
|
|
"_id": "mitt@1.2.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==",
|
|
"_location": "/mitt",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "mitt@^1.1.3",
|
|
"name": "mitt",
|
|
"escapedName": "mitt",
|
|
"rawSpec": "^1.1.3",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^1.1.3"
|
|
},
|
|
"_requiredBy": [
|
|
"/browser-sync-client"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz",
|
|
"_shasum": "cb24e6569c806e31bd4e3995787fe38a04fdf90d",
|
|
"_spec": "mitt@^1.1.3",
|
|
"_where": "/var/www/html/node_modules/browser-sync-client",
|
|
"authors": [
|
|
"Jason Miller <jason@developit.ca>"
|
|
],
|
|
"babel": {
|
|
"presets": [
|
|
"es2015",
|
|
"stage-0"
|
|
],
|
|
"plugins": [
|
|
"transform-flow-strip-types"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/developit/mitt/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": false,
|
|
"description": "Tiny 200b functional Event Emitter / pubsub.",
|
|
"devDependencies": {
|
|
"babel-core": "^6.9.1",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-plugin-transform-flow-strip-types": "^6.21.0",
|
|
"babel-preset-es2015": "^6.9.0",
|
|
"babel-preset-stage-0": "^6.5.0",
|
|
"chai": "^3.5.0",
|
|
"documentation": "^4.0.0-beta4",
|
|
"eslint": "^3.13.1",
|
|
"esm": "^3.2.25",
|
|
"flow-bin": "^0.38.0",
|
|
"flow-remove-types": "^1.2.0",
|
|
"gzip-size-cli": "^1.0.0",
|
|
"mocha": "^3.2.0",
|
|
"npm-run-all": "^2.1.1",
|
|
"pretty-bytes-cli": "^2.0.0",
|
|
"rimraf": "^2.5.2",
|
|
"rollup": "^0.41.4",
|
|
"rollup-plugin-buble": "^0.15.0",
|
|
"rollup-plugin-flow": "^1.1.1",
|
|
"sinon": "^1.17.4",
|
|
"sinon-chai": "^2.8.0",
|
|
"standard-version": "^4.0.0",
|
|
"strip-json-comments-cli": "^1.0.1",
|
|
"uglify-js": "^2.6.2"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "babel-eslint",
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"browser": true,
|
|
"mocha": true,
|
|
"es6": true
|
|
},
|
|
"globals": {
|
|
"expect": true
|
|
},
|
|
"rules": {
|
|
"semi": [
|
|
2,
|
|
"always"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"mitt.d.ts"
|
|
],
|
|
"homepage": "https://github.com/developit/mitt",
|
|
"jsnext:main": "dist/mitt.es.js",
|
|
"keywords": [
|
|
"events",
|
|
"eventemitter",
|
|
"pubsub"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/mitt.js",
|
|
"module": "dist/mitt.es.js",
|
|
"name": "mitt",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/developit/mitt.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm-run-all --silent clean -p rollup -p minify:* -s docs size",
|
|
"bump": "standard-version",
|
|
"clean": "rimraf dist",
|
|
"docs": "documentation readme src/index.js --section API -q",
|
|
"lint": "eslint src test",
|
|
"minify:cjs": "uglifyjs $npm_package_main -cm toplevel -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map",
|
|
"minify:umd": "uglifyjs $npm_package_umd_main -cm -o $npm_package_umd_main -p relative --in-source-map ${npm_package_umd_main}.map --source-map ${npm_package_umd_main}.map",
|
|
"release": "npm run build -s && npm run bump && git push --follow-tags origin master && npm publish",
|
|
"rollup": "rollup -c",
|
|
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size | pretty-bytes)\"",
|
|
"test": "flow && npm run lint && npm run testonly",
|
|
"testonly": "mocha --require esm --require flow-remove-types/register test/**/*.js"
|
|
},
|
|
"typings": "./mitt.d.ts",
|
|
"umd:main": "dist/mitt.umd.js",
|
|
"version": "1.2.0"
|
|
}
|