forked from nk-crew/lazy-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
144 lines (144 loc) · 4.03 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
143
144
{
"name": "lazy-blocks",
"title": "Lazy Blocks",
"description": "No hassle Gutenberg blocks for WordPress developers",
"license": "GPL-2.0",
"author": "nK <https://nkdev.info>",
"scripts": {
"build": "gulp",
"watch": "gulp watch",
"production": "gulp production",
"php-lint": "composer run-script phpcs",
"php-lint-fix": "composer run-script phpcbf",
"css-lint": "stylelint --syntax scss \"src/**/*.scss\"",
"css-lint-fix": "stylelint --fix --syntax scss \"src/**/*.scss\"",
"js-lint": "eslint src/",
"js-lint-fix": "eslint --fix src/",
"lint": "npm run php-lint && npm run css-lint && npm run js-lint",
"lint-fix": "npm run php-lint-fix && npm run css-lint-fix && npm run js-lint-fix",
"update:packages": "npm i -g npm-check-updates && npm-check-updates -u && npm install",
"postinstall": "composer install"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"gulp_config": {
"variables": {
"dist": "dist",
"plugin_name": "lazy-blocks",
"plugin_title": "Lazy Blocks",
"plugin_version": "1.4.3"
},
"template_vars": [
{
"patterns": [
{
"match": "text_domain",
"replacement": "{plugin_name}"
},
{
"match": "plugin_version",
"replacement": "{plugin_version}"
},
{
"match": "plugin_name",
"replacement": "{plugin_name}"
},
{
"match": "plugin_title",
"replacement": "{plugin_title}"
}
],
"from": "{dist}/{plugin_name}"
}
],
"work_folders": [
{
"from": "src",
"to": "{dist}/{plugin_name}"
}
],
"translate": [
{
"title": "{plugin_title}",
"name": "{plugin_name}",
"author": "nK <https://nkdev.info>",
"text_domain": "{plugin_name}",
"from": "{dist}/{plugin_name}"
}
],
"production": [
{
"file_name": "{plugin_name}.zip",
"base": "{dist}",
"from": "{dist}/{plugin_name}/**/*",
"to": "{dist}"
}
]
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"@svgr/webpack": "^2.4.1",
"axios": "^0.18.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-transform-react-jsx": "^6.24.1",
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
"del": "^3.0.0",
"eslint": "5.6.1",
"eslint-config-wordpress": "2.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-wordpress": "^0.1.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^6.0.0",
"gulp-changed": "^3.2.0",
"gulp-clean-css": "^3.10.0",
"gulp-if": "^2.0.2",
"gulp-line-ending-corrector": "^1.0.3",
"gulp-load-plugins": "^1.5.0",
"gulp-plumber": "^1.2.0",
"gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
"gulp-replace-task": "^0.11.0",
"gulp-sass": "^4.0.1",
"gulp-sort": "^2.0.0",
"gulp-vinyl-zip": "^2.1.0",
"gulp-wp-pot": "^2.3.2",
"gulp-zip": "^4.2.0",
"husky": "^1.0.1",
"json-file": "^0.1.0",
"md5": "^2.2.1",
"merge-stream": "^1.0.1",
"recompose": "^0.30.0",
"run-sequence": "^2.2.1",
"sass-loader": "^7.1.0",
"string-template": "^1.0.0",
"style-loader": "^0.23.0",
"stylelint": "^9.6.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^1.0.0",
"stylelint-scss": "^3.3.1",
"vinyl-named": "^1.1.0",
"vinyl-named-with-path": "^1.0.0",
"webpack": "^4.20.2",
"webpack-stream": "^5.1.1"
},
"dependencies": {
"classnames": "^2.2.6",
"deep-equal": "^1.0.1",
"react-sortable-hoc": "^1.4.0",
"shorthash": "0.0.2",
"slugify": "^1.3.4",
"throttle-debounce": "^2.1.0"
}
}