-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
83 lines (83 loc) · 2.55 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
{
"name": "ordercloud-javascript-sdk",
"description": "The offical Javascript SDK for the Ordercloud ecommerce API",
"author": "Four51 OrderCloud",
"version": "10.0.0",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.umd.js",
"homepage": "https://ordercloud.io/",
"bugs": {
"url": "https://github.com/ordercloud-api/ordercloud-javascript-sdk/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ordercloud-api/ordercloud-javascript-sdk"
},
"keywords": [
"ordercloud",
"four51",
"b2b",
"b2c",
"javascript",
"typescript",
"ecommerce",
"api",
"headless",
"sdk"
],
"license": "MIT",
"files": [
"dist/"
],
"engines": {
"node": ">=0.10"
},
"scripts": {
"build": "run-s build:sdk build:docs test",
"clean:dist": "rm -rf dist",
"prebuild:sdk": "npm run clean:dist && npm run generate-sdk && npm run beautify",
"build:sdk": "rollup --config",
"postbuild:sdk": "shx cp dist/index.d.ts dist/index.esm.d.ts",
"build:docs": "typedoc",
"test": "npm run test:browser && npm run test:server",
"test:browser": "jest --config tests/config/browser.config.js",
"test:server": "jest --config tests/config/server.config.js",
"beautify": "prettier --write codegen/**/*.ts --loglevel silent",
"generate-sdk": "npm run buildCodegen && oc-codegen -t codegen/templates -o ./src -b codegen/handlebars-extensions -k codegen/hooks.js -c",
"debug-template-data": "npm run buildCodegen && oc-codegen -d -k codegen/hooks.js > templateData.json",
"buildCodegen": "tsc --p codegen/tsconfig.json"
},
"devDependencies": {
"@ordercloud/oc-codegen": "0.0.1-26",
"@types/jest": "^25.1.3",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"add": "^2.0.6",
"axios": "^1.1.3",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-jest": "^23.8.1",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lodash": "^4.17.20",
"mockdate": "^3.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"rollup": "^2.79.2",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.26.0",
"shx": "^0.3.2",
"ts-jest": "^29.2.5",
"typedoc": "^0.23.19",
"typedoc-plugin-missing-exports": "^1.0.0",
"typescript": "^4.6.0",
"yarn": "^1.22.0"
},
"peerDependencies": {
"axios": "^1.1.3"
}
}