UNPKG

@remjx/clappy-button-web-component

Version:
141 lines (140 loc) 3.49 kB
{ "name": "@remjx/clappy-button-web-component", "version": "0.5.0", "description": "clappy button svelte", "repository": "https://github.com/remjx/clappy-button", "license": "UNLICENSED", "main": "public/bundle.js", "browserslist": [ "defaults" ], "dependencies": { "@remjx/clappy-button-shared": "^0.3.0", "fitty": "^2.3.3", "gsap": "^3.6.0", "querystringify": "^2.2.0" }, "devDependencies": { "@babel/core": "7.13.10", "@babel/eslint-parser": "7.13.10", "@babel/preset-env": "7.13.12", "@rollup/plugin-commonjs": "17.1.0", "@rollup/plugin-json": "4.1.0", "@rollup/plugin-node-resolve": "11.2.0", "@rollup/plugin-replace": "2.4.1", "@rollup/plugin-typescript": "^8.0.0", "@testing-library/cypress": "7.0.4", "@tsconfig/svelte": "^1.0.0", "@types/jest": "26.0.21", "@typescript-eslint/eslint-plugin": "~4.19.0", "@typescript-eslint/parser": "~4.19.0", "autoprefixer": "10.2.5", "babel-jest": "26.6.3", "babel-loader": "8.2.2", "cross-env": "^7.0.3", "cypress": "7.6.0", "eslint": "7.22.0", "eslint-config-prettier": "8.1.0", "eslint-plugin-cypress": "2.11.2", "eslint-plugin-svelte3": "3.1.2", "glob": "7.1.6", "husky": "5.2.0", "jest": "26.6.3", "lint-staged": "10.5.4", "postcss": "8.2.8", "prettier": "2.2.1", "prettier-plugin-svelte": "2.2.0", "rollup": "2.42.3", "rollup-plugin-css-only": "3.1.0", "rollup-plugin-inject-process-env": "1.3.1", "rollup-plugin-livereload": "2.0.0", "rollup-plugin-svelte": "7.1.0", "rollup-plugin-uglify": "^6.0.4", "rollup-plugin-visualizer": "^5.3.0", "sirv-cli": "1.0.11", "start-server-and-test": "1.12.1", "svelte": "3.35.0", "svelte-check": "^1.0.0", "svelte-jester": "1.3.2", "svelte-loader": "2.13.6", "svelte-preprocess": "^4.0.0", "ts-jest": "26.5.4", "tslib": "^2.0.0", "typescript": "^4.2.4" }, "files": [ "dist", "public/bundle.css", "public/bundle.js" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "keywords": [ "donate", "button", "web component", "clap" ], "lint-staged": { "*.{svelte, html, css, scss, stylus, js, ts, json, yml, md}": [ "prettier --write", "git add" ], "*.{js, svelte}": [ "eslint --fix", "git add" ] }, "prettier": { "singleQuote": true, "tabWidth": 4, "useTabs": true }, "scripts": { "clean": "rm -rf node_modules", "cy:open": "cypress open", "cy:run": "cypress run", "dev": "cross-env NODE_ENV=development rollup -c -w", "start:wc:test": "npm run start", "build": "rm -rf public/bundle.css public/bundle.js public/bundle.js.map && NODE_ENV=production rollup -c", "build:test": "rm -rf public/bundle.css public/bundle.js public/bundle.js.map && NODE_ENV=test rollup -c", "lint": "eslint --color --ignore-path .gitignore .", "prepublishOnly": "npm run build", "start": "sirv public", "validate": "svelte-check --ignore dist", "tsc": "tsc", "test:unit": "jest src", "test:unit:watch": "npm run test:unit -- --watch", "test": "npm run lint && npm run validate && npm run prepare && npm run test:unit" }, "svelte": "dist/index.js", "jest": { "transform": { "^.+\\.js$": "babel-jest", "^.+\\.svelte$": [ "svelte-jester", { "preprocess": true } ], "^.+\\.ts$": "ts-jest" }, "moduleFileExtensions": [ "js", "ts", "svelte", "jsx" ], "testPathIgnorePatterns": [ "/node_modules/", "/tsc/", "/dist/" ], "setupFiles": [ "./jest-setup.js" ] } }