This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
/
package.json
117 lines (117 loc) · 3.27 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
{
"name": "@moltin/sdk",
"description": "SDK for the Moltin eCommerce API",
"version": "0.0.0-semantic-release",
"homepage": "https://github.com/moltin/js-sdk",
"author": "Moltin (https://moltin.com/)",
"files": [
"dist/**"
],
"scripts": {
"commit": "cz",
"rollup": "rollup -c",
"start": "SERVE=true rollup -c -w",
"test": "NODE_ENV=test mocha --require @babel/register -r ts-node/register test/tests.ts",
"test-watch": "nodemon -w 'src/**' -w 'test/**' -e ts --exec 'NODE_ENV=test mocha --require @babel/register -r ts-node/register test/tests.ts'",
"test-output": "NODE_ENV=test mocha --require @babel/register -r ts-node/register --reporter mocha-junit-reporter test/tests.ts",
"playground": "ts-node playground/index.ts",
"lint": "eslint src"
},
"main": "dist/moltin.cjs.js",
"module": "dist/moltin.esm.js",
"jsnext:main": "dist/moltin.esm.js",
"cjs:main": "dist/moltin.cjs.js",
"browser": "dist/moltin.js",
"types": "dist/moltin.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/moltin/js-sdk.git"
},
"release": {
"branches": [
"main",
"beta"
],
"prepare": [
"@semantic-release/npm",
{
"path": "@semantic-release/exec",
"cmd": "./preRelease.sh ${nextRelease.version}"
}
]
},
"bugs": {
"url": "https://github.com/moltin/js-sdk/issues"
},
"devDependencies": {
"@babel/core": "7.21.3",
"@babel/eslint-parser": "7.21.3",
"@babel/preset-env": "7.20.2",
"@babel/register": "7.21.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@semantic-release/exec": "^6.0.3",
"@sinonjs/fake-timers": "^11.1.0",
"@types/chai": "4.3.4",
"@types/mocha": "9.1.1",
"@types/node": "18.0.6",
"@types/sinonjs__fake-timers": "^8.1.2",
"babel-plugin-rewire": "^1.2.0",
"chai": "4.3.7",
"commitizen": "4.2.5",
"core-js": "3.29.1",
"cz-conventional-changelog": "2.1.0",
"eslint": "8.37.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"lint-staged": "7.3.0",
"mocha": "10.0.0",
"mocha-junit-reporter": "1.18.0",
"nock": "13.2.9",
"nodemon": "2.0.22",
"prettier": "2.7.1",
"rewire": "6.0.0",
"rimraf": "2.6.2",
"rollup": "2.79.1",
"rollup-plugin-dts": "4.2.3",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-ignore": "1.0.10",
"rollup-plugin-livereload": "2.0.5",
"rollup-plugin-serve": "2.0.2",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-uglify": "6.0.4",
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
"dependencies": {
"cross-fetch": "^3.1.5",
"es6-promise": "^4.0.5",
"form-data": "^4.0.0",
"inflected": "^2.0.1",
"js-cookie": "^3.0.1",
"node-localstorage": "^2.1.6",
"throttled-queue": "^2.1.4"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"directories": {
"test": "test"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"lint-staged": {
"{src,test}/**/*.{js,ts,json,md}": [
"eslint --fix src",
"prettier --write",
"git add"
]
}
}