-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.33 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
{
"name": "hameslack",
"main": "gulpfile.js",
"scripts": {
"start": "wp-env start",
"update": "wp-env start --update",
"stop": "wp-env stop",
"cli": "wp-env run cli wp",
"cli:test": "wp-env run tests-cli wp",
"package": "npm run sass && npm run js",
"watch": "npm-watch",
"sass": "sass ./src/scss/:./dist/css/ && postcss --use autoprefixer cssnano --replace ./dist/css/**/*.css",
"js": "uglifyjs-folder ./src/js/ -x .js -eo ./dist/js/ --log-level error",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint src/js",
"lint:css": "stylelint src/scss",
"fix:js": "eslint --fix -c .eslintrc src/js",
"fix:css": "stylelint --fix src/scss"
},
"author": "Hametuha INC.",
"license": "LGPL-3.0-or-later",
"devDependencies": {
"@babel/eslint-parser": "^7.24.1",
"@wordpress/env": "^9.0",
"@wordpress/eslint-plugin": "^17.11.0",
"autoprefixer": "^10.4.19",
"cssnano": "^6.1.2",
"eslint": "^8.57.0",
"npm-watch": "^0.11.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"sass": "^1.72.0",
"stylelint": "^13.13.1",
"stylelint-config-wordpress": "^17.0.0",
"uglifyjs": "^2.4.11",
"uglifyjs-folder": "^3.3.0"
},
"volta": {
"node": "16.20.2"
},
"watch": {
"js:build": "src/js/**/*.js",
"lint:js": "src/js/**/*.js",
"lint:css": "src/scss/**/*.scss",
"sass": "src/scss/**/*.scss"
}
}