UNPKG

@reallyland/esm

Version:

A collection of node modules re-exported as ES Modules

89 lines (88 loc) 2.37 kB
{ "name": "@reallyland/esm", "version": "0.0.8", "description": "A collection of node modules re-exported as ES Modules", "keywords": [ "esm", "esmodules", "es-modules", "es-module" ], "homepage": "https://github.com/reallyland/esm#readme", "bugs": { "url": "https://github.com/reallyland/esm/issues" }, "repository": { "type": "git", "url": "git+https://github.com/reallyland/esm.git" }, "license": "MIT", "author": { "name": "Rong Sen Ng (motss)", "email": "wes.ngrongsen@gmail.com", "url": "https://github.com/motss" }, "type": "module", "exports": { ".": { "import": "./dist/index.js", "default": "./dist/index.js" }, "./dist/*": { "import": "./dist/*", "default": "./dist/*" }, "./clone-deep": { "import": "./dist/clone-deep.js", "default": "./dist/clone-deep.js" }, "./parse5": { "import": "./dist/parse5.js", "default": "./dist/parse5.js" }, "./prismjs": { "import": "./dist/prismjs.js", "default": "./dist/prismjs.js" } }, "main": "dist/index.js", "module": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist/**/*.d.ts.map", "dist/**/*.d.ts", "dist/**/*.js.map", "dist/**/*.js", "!**/*demo*/**/*.*", "!**/*test*/**/*.*" ], "scripts": { "build": "npm run clean && rollup --config ./rollup.config.js", "clean": "sh $(npm root)/@reallyland/tools/cleanup.sh", "postinstall": "FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi", "lint-commit": "sh $(npm root)/@reallyland/tools/lint-commit.sh", "pre-commit": "package-check && tsc --noEmit", "prepublishOnly": "npm run build" }, "simple-git-hooks": { "pre-commit": "npm run pre-commit", "commit-msg": "npm run lint-commit" }, "devDependencies": { "@reallyland/tools": "^0.0.7", "@rollup/plugin-commonjs": "^21.0.2", "@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-typescript": "^8.2.1", "@types/lodash-es": "^4.17.4", "@types/parse5": "^6.0.0", "@types/prismjs": "^1.26.0", "lodash-es": "^4.17.21", "parse5": "^6.0.1", "prismjs": "^1.27.0", "rollup": "^2.52.4", "rollup-plugin-terser": "^7.0.2" }, "publishConfig": { "access": "public" } }