-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
97 lines (97 loc) · 3.64 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
{
"name": "@thoughtspot/ts-chart-sdk",
"private": false,
"version": "0.0.2-alpha.22",
"module": "lib/index",
"main": "lib/index",
"types": "lib/index",
"files": [
"dist/**",
"lib/**",
"src/**"
],
"scripts": {
"build": "tsc -p .",
"tsc": "tsc -p .",
"test-sdk": "npx jest -c jest.config.sdk.js --runInBand",
"test": "npm run test-sdk",
"lint": "eslint 'src/**'",
"lint:fix": "eslint 'src/**' --fix",
"ci": "npm-run-all lint test",
"docgen": "typedoc --tsconfig tsconfig.json",
"dev": "npm run dev:bar",
"dev:bar": "vite serve example/custom-bar-chart --port 3000",
"about:bundle-dts": "echo '===== add ts types bundle in dist ====='",
"bundle-dts": "npx dts-bundle --name ../dist/ts-chart-sdk --main lib/index.d.ts --outputAsModuleFolder=true",
"prepublishOnly": "npm run ci; npm run build; npm run bundle-dts;",
"about:publish-dev": "echo '===== patch dev workflow ====='",
"patch-dev": "npm version prerelease --no-git-tag-version",
"publish-dev": "npm publish --tag dev --access public",
"about:publish-prod": "echo '===== patch prod workflow ====='",
"patch-prod": "npm version prepatch --no-git-tag-version",
"publish-prod": "npm publish --tag latest --access public"
},
"devDependencies": {
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.3",
"@types/lodash": "4.14.175",
"@types/luxon": "^3.4.2",
"@types/node": "18.16.3",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"dts-bundle": "^0.7.3",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-anti-trojan-source": "^1.1.1",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-comment-length": "0.9.2",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-jsdoc": "41.1.1",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-prototype-pollution-security-rules": "^1.0.6",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-testing-library": "^5.11.0",
"jest": "^27.4.6",
"jsdom": "^19.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"ts-jest": "^27.1.1",
"ts-jest-mock-import-meta": "^1.2.0",
"typedoc": "^0.24.4",
"typescript": "^4.9.5",
"vite": "4.2.1"
},
"dependencies": {
"lodash": "^4.17.21",
"luxon": "^3.4.4",
"promise-postmessage": "^3.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"prettier": "./prettier-config",
"browserslist": [
"chrome >=77, edge >= 81, firefox >=69, safari > 13"
],
"author": "ThoughtSpot",
"email": "[email protected]",
"license": "ThoughtSpot Development Tools End User License Agreement",
"repository": {
"type": "git",
"url": "git+https://github.com/thoughtspot/ts-chart-sdk.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}