-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
123 lines (123 loc) · 3.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
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
113
114
115
116
117
118
119
120
121
122
123
{
"name": "html2sketch",
"version": "1.0.0-beta.19",
"author": "arvinxx([email protected])",
"description": "parser HTML to Sketch",
"keywords": [
"html",
"sketch",
"design",
"c2d"
],
"homepage": "https://github.com/ant-design/html2sketch",
"bugs": {
"url": "https://github.com/ant-design/html2sketch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ant-design/html2sketch.git"
},
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"files": [
"/lib",
"/es",
"/dist"
],
"scripts": {
"start": "dumi dev",
"build": "father build",
"--------- ": "",
"docs:preview": "PREVIEW=1 dumi build",
"docs:build": "dumi build",
"docs:publish": "dumi build && gh-pages -d docs-dist",
"--------- ": "",
"test": "jest",
"test:update": "UPDATE=1 jest --update-snapshot",
"test:coverage": "jest --coverage",
"--------- ": "",
"release": "semantic-release",
"release:local": "semantic-release --no-ci",
"--------- ": "",
"clean": "rm -rf es lib dist build coverage e2e/dist .dumi/tmp .eslintcache",
"clean:deps": "npm run clean && rm -rf node_modules",
"ci": "npm run lint && npm run tsc",
"lint": "npm run lint-eslint",
"tsc": "tsc -p tsconfig-check.json",
"lint-eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx ",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --cache --ext .js,.jsx,.ts,.tsx",
"prettier": "prettier -c --write \"**/**\"",
"setup": "dumi setup",
"prepare": "husky install && npm run setup"
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,tsx,ts,md,json}": [
"prettier --write",
"git add"
],
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"dependencies": {
"@sketch-hq/sketch-file-format-ts": "^6",
"color": "^3.1.2",
"css": "^3.0.0",
"svg-pathdata": "^5.0.5",
"svgo-browser": "^1.3.7",
"svgson": "^4.1.0",
"transformation-matrix": "^2.11.1",
"uuid": "^8.2.0"
},
"devDependencies": {
"@ant-design/icons": "^4",
"@ant-design/plots": "^1",
"@ant-design/pro-card": "^2",
"@ant-design/pro-table": "^3",
"@jest/types": "^26",
"@testing-library/react": "^11.2.6",
"@testing-library/react-hooks": "^5.1.2",
"@types/color": "^3",
"@types/css": "0.0.31",
"@types/jest": "^26",
"@types/jsdom": "^16.2.3",
"@types/lodash": "^4",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/uuid": "^8.3.0",
"@umijs/max": "^4",
"antd": "^5",
"commitlint": "^17",
"commitlint-config-gitmoji": "^2.2.5",
"concurrently": "^7.3.0",
"copy-to-clipboard": "^3.3.2",
"cross-env": "^7",
"dumi": "^2",
"eslint": "^8",
"father": "^4",
"gh-pages": "^3.1.0",
"husky": "^8.0.1",
"jest": "^26",
"jest-electron": "^0.1.12",
"lint-staged": "^10.0.2",
"lodash": "^4.17.21",
"prettier": "^2",
"prettier-plugin-organize-imports": "^3",
"react-json-view": "^1.19.1",
"semantic-release": "^19",
"semantic-release-config-gitmoji": "^1",
"stylelint": "^13",
"ts-jest": "^26",
"typescript": "^4",
"umi-plugin-githubpages": "^2.0.1"
},
"engines": {
"node": ">=16.0.0"
}
}