-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 3.23 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "clappy-button",
"version": "0.0.1",
"description": "The \"Like\" button evolved for payments.",
"repository": "https://github.com/remjx/clappy-button-web-component.git",
"license": "MIT",
"main": "dist/bundle.js",
"browserslist": [
"defaults"
],
"dependencies": {
"fitty": "^2.3.3",
"gsap": "^3.6.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": "8.x",
"@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-copy": "3.4.0",
"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-visualizer": "^5.3.0",
"sirv-cli": "^1.0.11",
"start-server-and-test": "^1.12.1",
"svelte": "^3.53.1",
"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/bundle.js"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"keywords": [
"web component",
"clap button",
"like button",
"bitcoin"
],
"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 dist && NODE_ENV=production rollup -c",
"build:test": "rm -rf dist && NODE_ENV=test rollup -c",
"lint": "eslint --color --ignore-path .gitignore .",
"prepublishOnly": "npm run build",
"start": "sirv dist",
"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 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"
]
}
}