UNPKG

@thoschu/canvas-web-component

Version:

Web Components made by Tom S. with Stencil.js

90 lines (89 loc) 3.04 kB
{ "name": "@thoschu/canvas-web-component", "version": "1.1.4", "description": "Web Components made by Tom S. with Stencil.js", "main": "dist/index.js", "module": "dist/components/index.js", "types": "dist/components/index.d.ts", "collection": "dist/collection/collection-manifest.json", "collection:main": "dist/collection/index.js", "unpkg": "dist/canvas-web-component/canvas-web-component.esm.js", "exports": { ".": { "import": "./dist/canvas-web-component/canvas-web-component.esm.js", "require": "./dist/canvas-web-component/canvas-web-component.cjs.js" }, "./canvas-web-component": { "import": "./dist/components/canvas-web-component.js", "types": "./dist/components/canvas-web-component.d.ts" }, "./loader": { "import": "./loader/index.js", "require": "./loader/index.cjs", "types": "./loader/index.d.ts" } }, "repository": { "type": "git", "url": "git@github.com:thoschu/stencil.js.git" }, "files": [ "dist/", "loader/" ], "scripts": { "⚠️": "npm i", "build": "stencil build", "start": "stencil build --dev --watch --serve", "test": "stencil test --spec --e2e", "test.watch": "stencil test --spec --e2e --watchAll", "generate": "stencil generate", "lint": "eslint src/**/*{.ts,.tsx}", "eslint:prettier": "npx eslint-config-prettier", "prettier:check": "prettier --check src", "prettier:write": "prettier --write --ignore-unknown src", "prepublish": "npm run build", "publish": "npm publish --access public", "unpublish": "npm unpublish", "cleanup": "npx concurrently 'npx rimraf dist' 'npx rimraf loader' 'npx rimraf www' 'npx rimraf .stencil'", "clean:node_modules": "npx rimraf node_modules", "surf": "npx http-server ./private", "surf:src": "npx http-server ./src", "surf:www": "npx http-server ./www", "docker:verdaccio": "docker run -it --rm --name verdaccio -p 4873:4873 -d verdaccio/verdaccio", "prepare": "husky" }, "devDependencies": { "@eslint/eslintrc": "^3.1.0", "@stencil-community/eslint-plugin": "^0.8.0", "@stencil-community/postcss": "^2.2.0", "@stencil/sass": "^3.0.12", "@types/autoprefixer": "^10.2.0", "@types/jest": "^29.5.6", "@types/node": "^16.18.11", "autoprefixer": "^10.4.20", "eslint-config-prettier": "^9.1.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-cli": "^29.7.0", "lint-staged": "^15.2.10", "prettier": "3.3.3", "puppeteer": "^21.9.0" }, "license": "MIT", "dependencies": { "@stencil/core": "^4.7.0", "html2canvas": "^1.4.1", "jspdf": "^2.5.2", "ramda": "^0.30.1" }, "lint-staged": { "**/*.{js,ts,jsx,tsx,css,scss,html}": "npm run prettier:write" }, "author": "Tom S.", "keywords": ["web componet", "stencil.js", "canvas", "shadow DOM", "template", "slot"], "bugs": { "url": "https://github.com/thoschu/stencil.js/issues" }, "homepage": "https://github.com/thoschu/stencil.js#readme" }