-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
142 lines (142 loc) · 3.89 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "Anto",
"version": "1.2.9",
"description": "Sketch tools for AFUX",
"repository": {
"type": "git",
"url": "git+https://github.com/canisminor1990/anto.git"
},
"author": {
"name": "CanisMinor",
"email": "[email protected]",
"url": "https://canisminor.cc/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/canisminor1990/anto/issues"
},
"homepage": "https://github.com/canisminor1990/anto",
"main": "Anto.sketchplugin",
"engines": {
"sketch": ">=50.0"
},
"skpm": {
"name": "Anto",
"manifest": "src/manifest.json",
"main": "Anto.sketchplugin",
"assets": [
"dist/**/*"
]
},
"appcast": ".appcast.xml",
"scripts": {
"start": "yarn build:panel && concurrently \"yarn start:panel\" \"yarn start:plugin\"",
"start:plugin": "yarn dev && cross-env NODE_ENV=development skpm-build --watch",
"start:panel": "cross-env ESLINT=none roadhog dev",
"build": "rm -rf Anto.sketchplugin && yarn build:panel && yarn build:plugin",
"build:plugin": "cross-env NODE_ENV=production skpm-build",
"build:panel": "cross-env ESLINT=none roadhog build",
"build:symbol": "node ./scripts/symbol.js",
"build:preview": "cd preview && yarn build && cd ../ && node ./scripts/preview.js",
"build:color": "node ./scripts/color.js && rm -r './docs/AFUX 色彩库'",
"build:word": "node ./scripts/word.js",
"publish": "skpm publish",
"link": "skpm-link",
"dev": "defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist AlwaysReloadScript -bool YES",
"lint": "lint-staged",
"lint:es": "eslint --fix --ext .js src && eslint --fix --ext .js panel && eslint --fix --ext .js preview"
},
"pre-commit": [
"lint"
],
"lint-staged": {
"*.md": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"./package.json": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"src/**/*.js": [
"eslint --fix",
"git add"
],
"panel/**/*.js": [
"eslint --fix",
"git add"
],
"preivew/**/*.js": [
"eslint --fix",
"git add"
],
"panel/**/*.scss": [
"prettier --trailing-comma all --single-quote --write",
"git add"
],
"preview/**/*.scss": [
"prettier --trailing-comma all --single-quote --write",
"git add"
]
},
"dependencies": {
"antd": "^3.10.9",
"dva": "^2.4.1",
"dva-loading": "^2.0.6",
"lodash": "^4.17.11",
"react": "^16.6.3",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.6.3",
"sketch-module-web-view": "^3.2.2"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-stage-0": "^7.0.0",
"@babel/runtime": "^7.1.2",
"@skpm/builder": "^0.5.11",
"@skpm/dialog": "^0.2.4",
"@skpm/extract-loader": "^2.0.2",
"@skpm/fs": "^0.2.2",
"babel-plugin-dva-hmr": "^0.4.1",
"babel-plugin-import": "^1.10.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"compare-versions": "^3.4.0",
"concurrently": "^3.6.1",
"cross-env": "^5.2.0",
"eslint": "^4.13.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-flowtype": "^2.37.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.2.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
"expect": "^21.2.1",
"express": "^4.16.4",
"file-saver": "^2.0.0",
"fs-extra": "^7.0.1",
"hex-and-rgba": "^1.3.5",
"husky": "^0.14.3",
"jszip": "^3.1.5",
"kactus-cli": "^0.5.4",
"lint-staged": "^4.2.3",
"md-2-json": "^1.0.5",
"moment": "^2.22.2",
"node-fetch": "^2.3.0",
"path": "^0.12.7",
"polished": "^2.3.1",
"pre-commit": "^1.2.2",
"prettier": "^1.14.3",
"rc-queue-anim": "^1.6.8",
"redbox-react": "^1.3.2",
"roadhog": "2.5.0-beta.1",
"sketch-polyfill-fetch": "^0.4.5",
"sketch-utils": "^0.2.9",
"string_decoder": "^1.2.0",
"styled-components": "^4.0.2"
}
}