/
package.json
115 lines (115 loc) · 3.44 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
{
"name": "sketch-plugin-monster",
"version": "0.4.0",
"description": "A Sketch plugin for managing all plugin shortcuts",
"scripts": {
"start": "npm run start:webview & npm run start:sketch",
"start:sketch": "skpm-build --watch",
"start:webview": "webpack-dev-server --config ./webpack.webview.config.js -d --progress",
"watch": "skpm-build --watch",
"build": "rm -rf \"Sketch Plugin Monster.sketchplugin\" && npm run build:sketch && npm run build:webview",
"build:sketch": "NODE_ENV=production skpm-build",
"build:webview": "NODE_ENV=production webpack -p --progress --hide-modules --config ./webpack.webview.config.js",
"test": "jest",
"release": "bash ./scripts/release.sh",
"postinstall": "rm -rf \"Sketch Plugin Monster.sketchplugin\" && mkdir \"Sketch Plugin Monster.sketchplugin\" && skpm-link"
},
"author": "PeachScript <scdzwyxst@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/PeachScript/sketch-plugin-monster.git"
},
"keywords": [
"sketch-plugin",
"shortcuts"
],
"engines": {
"sketch": ">=3.0"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/PeachScript/sketch-plugin-monster/issues"
},
"homepage": "https://github.com/PeachScript/sketch-plugin-monster",
"skpm": {
"name": "Sketch Plugin Monster",
"manifest": "src/manifest.json",
"main": "Sketch Plugin Monster.sketchplugin",
"assets": [
"assets/**/*"
]
},
"dependencies": {
"@skpm/fs": "^0.1.2",
"@skpm/os": "^0.1.1",
"@skpm/path": "^0.1.0",
"normalize.css": "^8.0.0",
"sketch-module-web-view": "^1.1.3",
"vue": "^2.5.16",
"vue-i18n": "^7.6.0"
},
"devDependencies": {
"@skpm/builder": "^0.4.3",
"@vue/test-utils": "^1.0.0-beta.16",
"autoprefixer": "^8.1.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"css-loader": "^0.28.11",
"eslint": "^4.19.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-import-resolver-webpack": "^0.8.4",
"eslint-loader": "^2.0.0",
"eslint-plugin-html": "^4.0.2",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-vue": "^4.3.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.0.6",
"jest": "^22.4.4",
"node-sass": "^4.7.2",
"postcss-loader": "^2.1.2",
"sass-loader": "^6.0.7",
"uglifyjs-webpack-plugin": "^1.2.4",
"url-loader": "^1.0.1",
"vue-jest": "^2.6.0",
"vue-loader": "^14.2.1",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.12",
"webpack-dev-server": "^3.1.1"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"jest": {
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/webview/$1"
},
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"setupFiles": ["<rootDir>/test/unit/setup.js"],
"collectCoverage": true,
"collectCoverageFrom": [
"src/webview/**/*.{vue}",
"!**/node_modules/**"
],
"coverageReporters": [
"lcov",
"text-summary"
],
"coverageDirectory": "<rootDir>/test/unit/coverage"
}
}