-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
82 lines (82 loc) · 2.41 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
{
"name": "@contentstack/utils",
"version": "1.3.20",
"description": "Contentstack utilities for Javascript",
"main": "dist/index.es.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"keywords": [
"Contentstack",
"contentstack",
"contentstack javascript",
"Contentstack javascript"
],
"repository": {
"type": "git",
"url": "https://github.com/contentstack/contentstack-utils-javascript.git"
},
"scripts": {
"clear:reports": "rm -rf reports",
"clear:badges": "rm -rf badges",
"test": "npm run clear:reports && jest --ci --json --coverage --testLocationInResults --outputFile=./reports/report.json",
"test:badges": "npm run clear:badges && npm run test && jest-coverage-badges --input ./reports/coverage/coverage-summary.json --output ./badges",
"test:debug": "jest --watchAll --runInBand",
"prebuild": "rimraf dist",
"build": "tsc && rollup -c",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "husky install && npm run build",
"prepublishOnly": "npm test",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"author": "Contentstack",
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.26.0",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/jest": "^26.0.24",
"babel-core": "^4.7.16",
"babel-jest": "^29.7.0",
"babel-loader": "8.4.1",
"babel-preset-es2015": "^6.24.1",
"commitizen": "^4.3.1",
"eslint": "^8.57.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-coverage-badges": "^1.0.0",
"jest-environment-jsdom": "^29.7.0",
"jest-html-reporters": "^2.1.7",
"jest-junit": "^15.0.0",
"jsdom": "^21.1.2",
"jsdom-global": "^3.0.2",
"prettier": "^2.8.8",
"rollup": "^2.79.2",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.9.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "$TALISMAN_HOME/talisman_hook_script pre-commit && other-scripts"
}
},
"babel": {
"presets": [
"es2015"
]
}
}