This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 4.81 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
{
"name": "@rebilly/framepay-react",
"version": "2.0.0",
"description": "A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features",
"main": "build/index.js",
"author": "Rebilly",
"types": "build/index.d.ts",
"repository": "https://github.com/Rebilly/framepay-react",
"license": "MIT",
"keywords": [
"framepay",
"react",
"rebilly",
"billing",
"payment",
"framepay-react"
],
"files": [
"build",
"types"
],
"scripts": {
"set-react-14": "cross-env REACT_VERSION=0.14.0 node ./test/e2e/switch-react-version",
"set-react-15": "cross-env REACT_VERSION=15.0.0 node ./test/e2e/switch-react-version",
"set-react-16": "cross-env REACT_VERSION=16 node ./test/e2e/switch-react-version",
"set-react-17": "cross-env REACT_VERSION=17 node ./test/e2e/switch-react-version",
"set-react-18": "cross-env REACT_VERSION=18 node ./test/e2e/switch-react-version",
"clean-react-alias": "cross-env REACT_VERSION=clean node ./test/e2e/switch-react-version",
"dotenv": "node ./env.js",
"build": "cross-env NODE_ENV=production tsc -p tsconfig.json",
"build:e2e": "cross-env NODE_ENV=production run-s dotenv build clean:e2e && parcel build ./test/e2e/fixtures/* --no-minify --no-cache --out-dir test/e2e/build",
"dev:e2e": "cross-env NODE_ENV=development && run-s dotenv && parcel ./test/e2e/fixtures/* --no-cache --out-dir test/e2e/build",
"serve:e2e": "run-s dotenv build:* && node test/e2e/local-server.mjs",
"serve:e2e:no-build": "node test/e2e/local-server.mjs",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" \"src/**/*.tsx\" \"test/**/*.ts\" \"test/**/*.tsx\" \"./*.json\" --write",
"fix:tslint": "tslint --fix --project .",
"test:lint": "tslint --project . && prettier \"src/**/*.ts\" \"src/**/*.tsx\" \"test/**/*.ts\" \"test/**/*.tsx\" \"./*.json\" --list-different",
"test:unit": "jest --config ./test/unit/jest.config.js",
"test:cypress:ci": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test serve:e2e:no-build https-get://localhost:8000 test:cypress:run",
"test:cypress:ci:react-14": "cross-env REACT_VERSION=0.14.0 run-s set-react-14 dotenv build:e2e clean-react-alias test:cypress:ci",
"test:cypress:ci:react-15": "cross-env REACT_VERSION=15.0.0 run-s set-react-15 dotenv build:e2e clean-react-alias test:cypress:ci",
"test:cypress:ci:react-16": "cross-env REACT_VERSION=16 run-s set-react-16 dotenv build:e2e clean-react-alias test:cypress:ci",
"test:cypress:ci:react-17": "cross-env REACT_VERSION=17 run-s set-react-17 dotenv build:e2e clean-react-alias test:cypress:ci",
"test:cypress:ci:react-18": "cross-env REACT_VERSION=18 run-s set-react-18 dotenv build:e2e clean-react-alias test:cypress:ci",
"test:cypress:ci:all": "run-s test:cypress:ci:react-*",
"test:cypress:open": "cypress open",
"test:cypress:run": "cypress run",
"watch": "run-s build && run-p \"build -- --w\"",
"clean:e2e": "rm -rf test/e2e/build",
"precommit": "run-s fix",
"prepush": "run-s fix"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"create-react-context": "^0.3.0"
},
"devDependencies": {
"@fluffy-spoon/substitute": "^1.89.0",
"@small-tech/auto-encrypt-localhost": "^7.2.0",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"core-js": "3",
"cross-env": "^5.2.0",
"cypress": "^12.3.0",
"cypress-iframe": "^1.0.1",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"husky": "^1.3.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.5",
"portfinder": "^1.0.20",
"prettier": "^1.15.2",
"prop-types": "^15.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"start-server-and-test": "^1.15.2",
"ts-jest": "^29.0.3",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-immutable": "^5.0.0",
"typescript": "4.9.4"
},
"prettier": {
"singleQuote": true
},
"resolutions": {
"yargs-parser": "^13.1.2",
"dot-prop": "^4.2.1",
"node-notifier": "^8.0.1",
"glob-parent": "^5.1.2",
"trim-newlines": "^3.0.1",
"node-forge": "^0.10.0",
"postcss": "^7.0.36"
}
}