forked from marioy47/wordpress-plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.71 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
{
"name": "wordpress-plugin-starter",
"version": "1.0.0",
"description": "",
"scripts": {
"start": "gulp watch",
"build": "composer install --no-dev && composer dumpautoload -o && cross-env NODE_ENV=production gulp build",
"compress": "composer install --no-dev && composer dumpautoload -o && cross-env NODE_ENV=production gulp compress",
"clean": "gulp clean",
"pot": "gulp pot",
"lint": "eslint src/js/**/*.js && stylelint src/sass/**/*.(c|sc)ss && composer phpcs",
"lint:fix": "eslint src/js/**/*.js --fix && stylelint src/sass/**/*.(c|sc)ss && composer phpcs"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/marioy47/wordpress-plugin-starter.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"homepage": "https://github.com/marioy47/wordpress-plugin-starter/blob/master/README.md",
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@wordpress/eslint-plugin": "^6.1.0",
"babel-loader": "^8.1.0",
"browser-sync": "^2.26.13",
"cross-env": "^7.0.2",
"del": "^5.1.0",
"eslint": "^7.12.1",
"gulp": "^4.0.2",
"gulp-composer": "^0.4.5",
"gulp-sass": "^4.1.0",
"gulp-wp-pot": "^2.5.0",
"gulp-zip": "^5.0.2",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"node-sass": "^4.14.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"stylelint": "^13.7.2",
"stylelint-config-wordpress": "^17.0.0",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-stream": "^5.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.php": "composer phpcbf -q",
"*.(c|sc)ss": "stylelint --cache --fix"
}
}