forked from contentstack/contentstack-management-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 4.69 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
{
"name": "@contentstack/management",
"version": "1.15.3",
"description": "The Content Management API is used to manage the content of your Contentstack account",
"main": "./dist/node/contentstack-management.js",
"browser": "./dist/web/contentstack-management.js",
"types": "./types/contentstackClient.d.ts",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/contentstack/contentstack-management-javascript.git"
},
"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:sanity-test": "BABEL_ENV=test nyc --reporter=html mocha --require @babel/register ./test/sanity-check/sanity.js -t 30000 --reporter mochawesome --require babel-polyfill --reporter-options reportDir=mochawesome-report,reportFilename=mochawesome.json && marge mochawesome-report/mochawesome.json -f sanity-report.html --inline",
"test:sanity": "npm run test:sanity-test || true",
"test:sanity-report": "marge mochawesome-report/mochawesome.json -f sanity-report.html --inline && node sanity-report.mjs",
"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",
"generate:docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose"
},
"engines": {
"node": ">=8.0.0"
},
"author": "Contentstack",
"license": "MIT",
"dependencies": {
"@slack/bolt": "^3.17.1",
"axios": "^1.6.5",
"form-data": "^3.0.1",
"lodash": "^4.17.21",
"qs": "^6.11.2"
},
"keywords": [
"contentstack management api",
"contentstack",
"management api"
],
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.2",
"@babel/plugin-transform-runtime": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/register": "^7.17.7",
"@babel/runtime": "^7.18.3",
"@types/chai": "^4.3.11",
"@types/jest": "^28.1.0",
"@types/lodash": "^4.14.202",
"@types/mocha": "^7.0.2",
"axios-mock-adapter": "^1.21.1",
"babel-loader": "^8.2.5",
"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.3.6",
"clean-webpack-plugin": "^4.0.0",
"docdash": "^1.2.0",
"dotenv": "^8.6.0",
"eslint": "^8.16.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0",
"jest": "^28.1.0",
"jsdoc": "^4.0.2",
"mocha": "^9.2.2",
"mocha-html-reporter": "^0.0.1",
"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.3.2",
"string-replace-loader": "^3.1.0",
"ts-jest": "^28.0.3",
"typescript": "^4.7.2",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-merge": "4.1.0"
},
"homepage": "https://www.contentstack.com"
}