post-me
Version:
Use web Workers and other Windows through a simple Promise API
93 lines (92 loc) • 2.81 kB
JSON
{
"name": "post-me",
"version": "0.4.5",
"description": "Use web Workers and other Windows through a simple Promise API",
"author": {
"name": "Alessandro Genova",
"email": "ales.genova@gmail.com",
"url": "https://github.com/alesgenova"
},
"license": "MIT",
"homepage": "https://github.com/alesgenova/post-me",
"repository": {
"type": "git",
"url": "https://github.com/alesgenova/post-me.git",
"directory": "packages/core"
},
"bugs": {
"url": "https://github.com/alesgenova/post-me/issues",
"email": "ales.genova@gmail.com"
},
"main": "./dist/index.js",
"exports": {
"import": "./dist/index.esnext.mjs",
"require": "./dist/index.js"
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "npm run build:src && npm run build:types",
"build:src": "rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"build:docs": "npm run build:types && api-extractor run --local --verbose",
"build:demo": "npm run build:src && node demo/build.js www",
"prepublishOnly": "npm run build",
"demo": "npm run build:demo && npx serve www",
"deploy:demo": "npm run build:demo && gh-pages -d www",
"test": "jest --coverage tests",
"prettier:check-staged": "pretty-quick --staged --check --pattern '**/*.{js,jsx,ts,tsx,css,html}'",
"prettier:write-staged": "pretty-quick --staged --write --pattern '**/*.{js,jsx,ts,tsx,css,html}'",
"prettier:check-modified": "pretty-quick --check --pattern '**/*.{js,jsx,ts,tsx,css,html}'",
"prettier:write-modified": "pretty-quick --write --pattern '**/*.{js,jsx,ts,tsx,css,html}'",
"prettier:check-all": "prettier --check '**/*.{js,jsx,ts,tsx,css,html}'",
"prettier:write-all": "prettier --write '**/*.{js,jsx,ts,tsx,css,html}'"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.11",
"@microsoft/api-extractor": "^7.13.0",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-typescript": "^8.1.0",
"@types/jest": "^26.0.15",
"@types/jsdom": "^16.2.5",
"gh-pages": "^3.1.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jsdom": "^16.4.0",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rollup": "^2.35.1",
"ts-jest": "^26.4.4",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier:write-staged"
}
},
"publishConfig": {
"access": "public"
},
"keywords": [
"communication",
"postmessage",
"iframe",
"worker",
"workers",
"web-worker",
"web-workers",
"concurrency",
"parallel-computing",
"front-end",
"back-end",
"promise",
"typescript",
"postmate"
]
}