-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
102 lines (102 loc) · 2.85 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
{
"name": "@gravity-ui/react-data-table",
"version": "2.1.1",
"description": "DataTable component",
"keywords": [
"table"
],
"repository": {
"type": "git",
"url": "https://github.com/gravity-ui/react-data-table"
},
"license": "MIT",
"sideEffects": [
"*.scss"
],
"main": "build/esm/lib/index.js",
"types": "build/esm/lib/index.d.ts",
"files": [
"build/esm/lib"
],
"scripts": {
"build": "npm run build:clean && npm run build:compile && npm run build:copy",
"build-storybook": "storybook build -c .storybook -o storybook-static",
"build:clean": "rm -rf build",
"build:compile": "tsc",
"build:copy": "copyfiles -u 1 \"src/**/*.scss\" build/esm",
"dev": "storybook dev -p 8888 -c .storybook",
"lint:js": "eslint src --ext .js,.jsx,.ts,.tsx",
"lint:other": "npm run prettier -- --check",
"lint:styles": "stylelint 'src/**/*.scss'",
"lint": "run-p lint:*",
"prettier": "prettier '**/*.{md,json,yaml,yml}'",
"typecheck": "npm run build:compile -- --noEmit",
"test": "jest",
"prepublishOnly": "npm run build"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged",
"commit-msg": "npx commitlint --edit $1"
},
"nano-staged": {
"*.scss": [
"stylelint --fix --quiet"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet"
],
"*.{md,json,yaml,yml}": [
"prettier --write"
]
},
"dependencies": {
"@bem-react/classname": ">=1.6.0",
"react-list": "^0.8.17",
"tslib": "^2.6.2"
},
"devDependencies": {
"@bem-react/classname": "^1.6.0",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@gravity-ui/eslint-config": "2.2",
"@gravity-ui/prettier-config": "^1.0.1",
"@gravity-ui/stylelint-config": "^2.0.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@gravity-ui/uikit": "^6.1.1",
"@storybook/addon-actions": "^7.3.1",
"@storybook/addon-essentials": "^7.3.1",
"@storybook/addon-interactions": "^7.3.1",
"@storybook/addon-links": "^7.3.1",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^7.3.1",
"@storybook/react-webpack5": "^7.3.1",
"@types/react": "16.14.21",
"@types/react-dom": "16.9.14",
"@types/react-list": "0.8.7",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"copyfiles": "2.4.1",
"eslint": "8.47",
"jest": "^29.6.2",
"nano-staged": "^0.8.0",
"npm-run-all": "4.1.5",
"postcss": "^8.4.28",
"prettier": "2.5.1",
"prop-types": "^15.8.1",
"react": "16.14.0",
"react-dom": "16.14.0",
"sass": "1.65",
"sass-loader": "^13.3.2",
"simple-git-hooks": "2.9",
"storybook": "^7.3.1",
"style-loader": "^3.3.3",
"stylelint": "^14.16.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"peerDependencies": {
"react": ">=16.14.0"
},
"publishConfig": {
"access": "public"
}
}