-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.78 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
{
"name": "@contentstack/marketplace-sdk",
"version": "1.2.5",
"description": "The Contentstack Marketplace SDK is used to manage the content of your Contentstack marketplace apps",
"main": "./dist/node/contentstack-marketplace.js",
"browser": "./dist/web/contentstack-marketplace.js",
"types": "./types/contentstackClient.d.ts",
"directories": {
"test": "test"
},
"private": false,
"nyc": {
"exclude": [
"**/bulkOperation",
"**/items",
"**/test"
]
},
"scripts": {
"clean": "rimraf coverage && rimraf dist",
"build": "npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall",
"build:es5": "BABEL_ENV=es5 babel lib -d dist/es5",
"build:es-modules": "BABEL_ENV=es-modules babel lib -d dist/es-modules",
"buildall": "npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript",
"buildnode": "webpack --config webpack/webpack.node.js --mode production",
"buildreactnative": "webpack --config webpack/webpack.react-native.js --mode production",
"buildnativescript": "webpack --config webpack/webpack.nativescript.js --mode production",
"buildweb": "webpack --config webpack/webpack.web.js --mode production",
"test": "npm run test:api && npm run test:unit",
"test:api": "BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill",
"test:unit": "BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill",
"test:unit:report:json": "BABEL_ENV=test nyc --reporter=clover --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter json --reporter-options output=report.json --require babel-polyfill",
"test:typescript": "jest --testPathPattern=test/typescript --config ./jest.config.js --coverage",
"test:debug": "BABEL_ENV=test mocha debug --require @babel/register ./test",
"lint": "eslint lib test",
"format": "eslint --fix lib test",
"prepare": "npm run build",
"pretest": "rimraf coverage && npm run lint",
"precommit": "npm run lint",
"prepush": "npm run test:unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/contentstack/contentstack-marketplace-sdk.git"
},
"author": "Contentstack",
"license": "MIT",
"homepage": "https://www.contentstack.com",
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@babel/runtime": "^7.26.0",
"@types/jest": "^28.1.8",
"@types/mocha": "^7.0.2",
"axios-mock-adapter": "^1.22.0",
"babel-loader": "^8.4.1",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-rewire": "^1.2.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-polyfill": "^6.26.0",
"chai": "^4.5.0",
"clean-webpack-plugin": "^4.0.0",
"docdash": "^2.0.2",
"dotenv": "^8.6.0",
"eslint": "^8.57.1",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0",
"jest": "^28.1.3",
"jsdoc": "^4.0.4",
"mocha": "^9.2.2",
"mochawesome": "^7.1.3",
"multiparty": "^4.2.3",
"nock": "^10.0.6",
"nyc": "^15.1.0",
"os-browserify": "^0.3.0",
"rimraf": "^2.7.1",
"sinon": "^7.5.0",
"string-replace-loader": "^3.1.0",
"ts-jest": "^28.0.8",
"typescript": "^4.9.5",
"webpack": "^5.97.1",
"webpack-cli": "^4.10.0",
"webpack-merge": "4.2.2"
},
"dependencies": {
"axios": "^1.7.9"
}
}