forked from bigcommerce/checkout-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 3.28 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
{
"name": "@bigcommerce/checkout-sdk",
"version": "1.19.0",
"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"
},
"homepage": "https://github.com/bigcommerce/checkout-sdk-js",
"scripts": {
"prepare": "check-node-version --node '>=6' --npm '>=6'",
"prebuild": "npm run lint && npm test",
"build": "npm run bundle && npm run bundle-dts",
"prebundle": "rm -rf dist",
"bundle": "webpack --config webpack.config.js",
"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": "npm run bundle -- --config-name cjs --watch --progress",
"prebundle-dts": "tsc --outDir temp --declaration",
"bundle-dts": "api-extractor run --config api-extractor/checkout-sdk.json & api-extractor run --config api-extractor/checkout-button.json & api-extractor run --config api-extractor/embedded-checkout.json & api-extractor run --config api-extractor/internal-mappers.json",
"postbundle-dts": "rm -rf temp",
"docs": "typedoc --theme markdown --plugin @bigcommerce/typedoc-plugin-markdown --mode file --module commonjs --readme none --out docs --includeDeclarations --excludeExternals --excludePrivate --excludeProtected --mdEngine github --mdHideSources dist/checkout-sdk.d.ts",
"lint": "tslint 'src/**/*.ts' --config tslint.json --project tsconfig.json && tsc --noEmit",
"prerelease": "git fetch --tags && npm run validate-commits && npm run build && npm run docs",
"release": "git add dist docs && standard-version -a",
"test": "jest --config jest-config.js",
"test:coverage": "npm run test -- --coverage",
"test:series": "npm run test -- --runInBand",
"test:watch": "npm run test -- --watch",
"validate-commits": "validate-commits"
},
"dependencies": {
"@bigcommerce/bigpay-client": "^3.2.4",
"@bigcommerce/data-store": "^0.2.6",
"@bigcommerce/form-poster": "^1.3.0",
"@bigcommerce/request-sender": "^0.2.1",
"@bigcommerce/script-loader": "^0.1.6",
"@types/iframe-resizer": "^3.5.6",
"@types/lodash": "^4.14.92",
"iframe-resizer": "^3.6.2",
"local-storage-fallback": "^4.1.1",
"lodash": "^4.17.4",
"messageformat": "^2.0.4",
"rxjs": "^6.3.3",
"tslib": "^1.8.0"
},
"devDependencies": {
"@bigcommerce/tslint-config": "^3.0.1",
"@bigcommerce/typedoc-plugin-markdown": "^1.3.0",
"@bigcommerce/validate-commits": "^2.0.3",
"@microsoft/api-extractor": "^6.3.0",
"@types/jest": "^23.3.10",
"@types/node": "^6.0.101",
"check-node-version": "^3.2.0",
"jest": "^23.6.0",
"request": "^2.83.0",
"standard-version": "^4.2.0",
"ts-jest": "^23.10.5",
"ts-loader": "^4.4.2",
"tslint": "^5.9.1",
"typedoc": "^0.13.0",
"typescript": "^2.8.4",
"webpack": "^4.27.0",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.1.2",
"webpack-node-externals": "^1.7.2"
}
}