/
package.json
96 lines (96 loc) · 2.87 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
{
"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/)",
"scripts": {
"commit": "git-cz",
"rollup": "rollup -c",
"start": "SERVE=true rollup -c -w",
"test": "mocha --require @babel/register -r ts-node/register test/tests.ts",
"test-watch": "nodemon -w 'src/**' -w 'test/**' -e ts --exec 'mocha --require @babel/register -r ts-node/register test/tests.ts'",
"test-output": "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": "src/moltin.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/moltin/js-sdk.git"
},
"bugs": {
"url": "https://github.com/moltin/js-sdk/issues"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.54",
"@babel/preset-env": "7.0.0-beta.54",
"@babel/preset-stage-3": "7.0.0-beta.54",
"@babel/register": "7.0.0-beta.54",
"@types/chai": "4.2.15",
"@types/mocha": "8.2.2",
"babel-eslint": "8.2.6",
"babel-plugin-transform-class-properties": "6.24.1",
"chai": "4.3.0",
"commitizen": "2.10.1",
"cross-fetch": "3.0.2",
"cz-conventional-changelog": "2.1.0",
"eslint": "4.19.1",
"eslint-config-airbnb-base": "13.2.0",
"eslint-config-prettier": "2.10.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-prettier": "2.7.0",
"husky": "7.0.4",
"lint-staged": "7.3.0",
"mocha": "8.3.2",
"mocha-junit-reporter": "1.18.0",
"nock": "13.0.3",
"prettier": "1.14.2",
"rewire": "5.0.0",
"rimraf": "2.6.2",
"rollup": "0.66.0",
"rollup-plugin-babel": "4.0.0-beta.8",
"rollup-plugin-commonjs": "9.1.8",
"rollup-plugin-filesize": "2.0.0",
"rollup-plugin-ignore": "1.0.3",
"rollup-plugin-json": "3.1.0",
"rollup-plugin-livereload": "0.6.0",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-serve": "0.4.2",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-uglify": "4.0.0",
"ts-node": "^10.0.0",
"typescript": "3.9.7"
},
"dependencies": {
"es6-promise": "^4.0.5",
"fetch-everywhere": "^1.0.5",
"form-data": "^4.0.0",
"inflected": "^2.0.1",
"node-localstorage": "^2.1.6"
},
"config": {
"commitizen": {
"path": "node_modules/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"
]
}
}