-
Notifications
You must be signed in to change notification settings - Fork 156
/
package.json
68 lines (68 loc) · 2.09 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
{
"name": "@stripe/stripe-js",
"version": "4.10.0",
"description": "Stripe.js loading utility",
"repository": "github:stripe/stripe-js",
"main": "lib/index.js",
"module": "lib/index.mjs",
"jsnext:main": "lib/index.mjs",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"test": "yarn lint && yarn test:unit && yarn test:package-types && yarn test:types && yarn typecheck",
"test:unit": "jest",
"test:package-types": "attw --pack . --entrypoints ./lib ./pure",
"test:types": "zx ./tests/types/scripts/test.mjs",
"lint": "eslint '{src,types}/**/*.{ts,js}' && yarn prettier-check",
"typecheck": "tsc",
"copy-types": "./scripts/copy-types",
"build": "yarn clean && yarn rollup -c && yarn copy-types",
"clean": "rimraf dist",
"prepublishOnly": "echo \"\nPlease use ./scripts/publish instead\n\" && exit 1",
"prettier": "prettier './**/*.{js,ts,md,html,css}' --write",
"prettier-check": "prettier './**/*.{js,ts,md,html,css}' --check"
},
"keywords": [
"Stripe",
"Stripe.js",
"Elements"
],
"author": "Stripe (https://www.stripe.com)",
"license": "MIT",
"homepage": "https://stripe.com/docs/js",
"files": [
"dist",
"lib",
"pure",
"src"
],
"engines": {
"node": ">=12.16"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@rollup/plugin-replace": "^2.3.1",
"@types/jest": "^24.0.25",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"conditional-type-checks": "^1.0.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.8.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.6.3",
"eslint-plugin-prettier": "^3.1.1",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"rimraf": "^2.6.2",
"rollup": "^1.29.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-typescript2": "^0.25.3",
"ts-jest": "^24.3.0",
"typescript": "^4.1.2",
"zx": "^4.2.0"
}
}