-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
81 lines (81 loc) · 2.05 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
{
"name": "@formspree/core",
"version": "2.7.0",
"description": "The core library for Formspree",
"homepage": "https://formspree.io",
"bugs": {
"url": "https://github.com/formspree/formspree-core/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/formspree/formspree-core.git"
},
"license": "MIT",
"author": "Derrick Reimer",
"main": "dist/formspree.cjs.js",
"module": "dist/formspree.esm.js",
"types": "dist/types/src/index.d.ts",
"files": [
"dist/**/*.{js,ts}",
"forms.d.ts"
],
"scripts": {
"build": "rm -rf dist && yarn run build:types && yarn run build:js",
"build:js": "rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"format": "npx prettier --write 'src/**/*.{js,ts}'",
"prepare": "yarn build",
"release": "np",
"test": "jest",
"type-check": "tsc --noEmit",
"type-check:watch": "yarn run type-check -- --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,css,json,md}": [
"npx prettier --write",
"git add"
],
"package.json": [
"npx sort-package-json",
"git add"
]
},
"dependencies": {
"@stripe/stripe-js": "^1.29.0",
"@types/promise-polyfill": "^6.0.3",
"fetch-ponyfill": "^6.1.0",
"promise-polyfill": "^8.1.3"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-typescript": "^7.7.7",
"husky": "^3.1.0",
"jest": "^26.4.2",
"lint-staged": "^9.5.0",
"np": "^3.0.4",
"prettier": "^1.19.1",
"rollup": "^1.28.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.0",
"sort-package-json": "^1.36.0",
"tslib": "^1.10.0",
"typescript": "^4.7.4"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"np": {
"yarn": false
}
}