UNPKG

preact-habitat

Version:

A place for your happy widget in every DOM.

93 lines (92 loc) 2.9 kB
{ "name": "preact-habitat", "amdName": "preactHabitat", "version": "3.3.0", "description": "A place for your happy widget in every DOM.", "main": "dist/preact-habitat.js", "module": "dist/preact-habitat.es.js", "main:umd": "dist/preact-habitat.umd.js", "jsnext:main": "dist/preact-habitat.es.js", "homepage": "https://github.com/zouhir/preact-habitat/", "types": "src/habitat.d.ts", "author": { "name": "Zouhir Chahoud", "email": "zouhir@zouhir.org", "url": "http://zouhir.org/" }, "scripts": { "clean": "rimraf dist", "build": "npm-run-all clean transpile minify", "transpile": "rollup -c", "minify": "uglifyjs dist/preact-habitat.js -cm toplevel -o dist/preact-habitat.js -p relative --in-source-map dist/preact-habitat.js.map --source-map dist/preact-habitat.js.map && uglifyjs dist/preact-habitat.umd.js -cm -o dist/preact-habitat.umd.js -p relative --in-source-map dist/preact-habitat.umd.js.map --source-map dist/preact-habitat.umd.js.map", "test": "jest", "test:watch": "jest --watchAll", "coverage": "jest --coverage", "prepublish": "npm run build" }, "keywords": [ "JavaScript", "preact", "react", "DOM", "preact in DOM", "virtual dom", "widget" ], "license": "MIT", "devDependencies": { "babel": "^6.23.0", "babel-eslint": "^7.2.3", "babel-jest": "^20.0.3", "babel-loader": "^7.0.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-react-jsx": "^6.24.1", "babel-polyfill": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-es2015-minimal": "^2.1.0", "babel-preset-es2015-minimal-rollup": "^2.1.1", "babel-preset-stage-0": "^6.24.1", "babel-register": "^6.24.1", "chai": "^4.0.1", "cross-env": "^5.0.0", "eslint": "^3.19.0", "eslint-config-standard": "^10.2.1", "eslint-config-standard-preact": "^1.1.1", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-react": "^7.0.1", "eslint-plugin-standard": "^3.0.1", "istanbul": "^0.4.5", "jest-cli": "^20.0.4", "jsdom": "^11.0.0", "mocha": "^3.4.2", "npm-run-all": "^4.0.2", "preact": "^10.0.0-rc.1", "regenerator-runtime": "^0.10.5", "replace-bundle-webpack-plugin": "^1.0.0", "rimraf": "^2.6.1", "rollup": "^0.41.6", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-buble": "^0.15.0", "rollup-plugin-commonjs": "^8.1.0", "rollup-plugin-es3": "^1.0.3", "rollup-plugin-node-resolve": "^3.0.0", "simulant": "^0.2.2", "uglify-js": "^2.8.29" }, "peerDependencies": { "preact": "*" }, "dependencies": {}, "jest": { "transform": { "^.+\\.js$": "babel-jest" }, "moduleFileExtensions": [ "js" ], "collectCoverageFrom": [ "src/**/*.{js}" ] } }