forked from bigcommerce/checkout-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.84 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
{
"name": "@bigcommerce/checkout-sdk",
"version": "1.661.4",
"description": "BigCommerce Checkout JavaScript SDK",
"license": "MIT",
"main": "dist/checkout-sdk.js",
"typings": "dist/checkout-sdk.d.ts",
"files": [
"dist/",
"docs/"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git://github.com/bigcommerce/checkout-sdk-js.git"
},
"author": "BigCommerce",
"bugs": {
"url": "https://github.com/bigcommerce/checkout-sdk-js/issues"
},
"engines": {
"node": "20",
"npm": "9"
},
"prettier": "@bigcommerce/eslint-config/prettier",
"homepage": "https://github.com/bigcommerce/checkout-sdk-js",
"scripts": {
"prepare": "check-node-version --node '>=20' --npm '>=9'",
"build": "npm run bundle && npm run bundle-dts",
"build:link": "rm -rf dist && npx nx run core:build --skip-nx-cache && npm run bundle-dts",
"prebuild-cdn": "rm -rf dist-cdn",
"build-cdn": "npx nx run core:build-cdn",
"prebundle": "rm -rf dist",
"bundle": "npx nx run core:build",
"bundle:analyze": "npm run --silent bundle -- --config-name umd --profile --json > webpack-stats.json && webpack-bundle-analyzer webpack-stats.json dist --default-sizes gzip",
"bundle:watch": "export WATCH=true; npx nx run core:build-watch",
"bundle-dts": "npx nx run core:build-dts",
"docs": "npx nx run core:docs",
"generate": "npx nx run core:generate",
"lint": "npx nx run-many --target=lint --parallel=5 --all --verbose",
"release": "echo 'Please do not release locally, use CircleCi'",
"release:version": "git add dist docs && standard-version -a",
"release:alpha": "export PRERELEASE=alpha; npm run lint && npm test && npm run build && npm run release:version",
"test": "jest --config packages/core/jest.config.js",
"test:coverage": "npx nx run-many --all --target=test --parallel=5 -- --coverage",
"test:series": "npx nx run-many --all --target=test --parallel=5 -- --runInBand",
"test:core": "npx nx run core:test -- --coverage --runInBand",
"test:others": "npx nx run-many --all --target=test --exclude core --parallel=5 -- --runInBand",
"test:watch": "npx nx run-many --all --target=test --parallel -- --watch"
},
"jest-junit": {
"addFileAttribute": "true"
},
"dependencies": {
"@bigcommerce/bigpay-client": "^5.27.4",
"@bigcommerce/data-store": "^1.0.1",
"@bigcommerce/form-poster": "^1.5.0",
"@bigcommerce/memoize": "^1.0.0",
"@bigcommerce/request-sender": "^1.2.4",
"@bigcommerce/script-loader": "^2.2.2",
"@braintree/browser-detection": "^1.16.0",
"@types/card-validator": "^4.1.0",
"@types/iframe-resizer": "^3.5.13",
"@types/reselect": "^2.2.0",
"@types/shallowequal": "^1.1.5",
"card-validator": "^6.2.0",
"core-js": "^3.31.0",
"current-script-polyfill": "^1.0.0",
"iframe-resizer": "^3.6.6",
"local-storage-fallback": "^4.1.2",
"lodash": "^4.17.15",
"messageformat": "^2.3.0",
"query-string": "^7.1.1",
"reselect": "^4.1.8",
"rxjs": "^6.6.7",
"shallowequal": "^1.1.0",
"tslib": "^1.10.0",
"yup": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@bigcommerce/eslint-config": "^2.6.1",
"@microsoft/api-extractor": "^6.3.0",
"@nrwl/cli": "^13.10.3",
"@nrwl/devkit": "^13.10.3",
"@nrwl/eslint-plugin-nx": "^14.0.0",
"@nrwl/jest": "^13.10.6",
"@nrwl/nx-plugin": "^13.10.3",
"@nrwl/workspace": "^13.10.3",
"@square/web-payments-sdk-types": "^1.44.1",
"@types/applepayjs": "^3.0.2",
"@types/glob": "^7.2.0",
"@types/grecaptcha": "^2.0.36",
"@types/jest": "^24.0.17",
"@types/lodash": "^4.14.185",
"@types/node": "^14.18.18",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.30.5",
"@typescript-eslint/parser": "^5.26.0",
"babel-loader": "^8.0.6",
"check-node-version": "^3.2.0",
"conventional-recommended-bump": "^6.0.5",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^26.6.3",
"jest-junit": "^15.0.0",
"nx": "^13.10.3",
"prettier": "^2.6.2",
"regenerator-runtime": "^0.13.3",
"request": "^2.83.0",
"semver": "^7.1.1",
"source-map-loader": "^0.2.4",
"standard-version": "^9.5.0",
"ts-jest": "^26.5.6",
"ts-loader": "^9.2.9",
"typedoc": "^0.22.0",
"typedoc-plugin-markdown": "^3.11.0",
"typescript": "^4.1.2",
"webpack": "^5.72.0",
"webpack-assets-manifest": "^5.1.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-node-externals": "^3.0.0"
},
"standard-version": {
"scripts": {
"prebump": "./scripts/standard-version/prebump.js"
}
}
}