-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
61 lines (61 loc) · 2.16 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
{
"name": "@hamworks/wp-theme",
"version": "0.0.17",
"private": true,
"description": "",
"repository": {
"type": "git",
"url": "[email protected]:team-hamworks/wp-theme.git"
},
"scripts": {
"start": "npm run bs & npm run watch",
"bs": "browser-sync start --config bs-config.js",
"build": "npm run build:theme:js && npm run build:theme:css",
"build:theme:css": "postcss $npm_package_config_theme_dir/src/css/[^_]*.css --dir $npm_package_config_theme_dir/build/css --verbose",
"build:theme:js": "wp-scripts build $npm_package_config_theme_dir/src/js/index.js --output-path=$npm_package_config_theme_dir/build/js",
"build:theme:js:start": "wp-scripts start $npm_package_config_theme_dir/src/js/index.js --output-path=$npm_package_config_theme_dir/build/js",
"watch": "npm run build:theme:css -- -w & npm run build:theme:js:start",
"eslint": "wp-scripts lint-js",
"stylelint": "stylelint \"$npm_package_config_theme_dir/**/*.css\"",
"test": "npm run eslint & npm run stylelint",
"env": "wp-scripts env"
},
"config": {
"theme_dir": "./"
},
"dependencies": {
"normalize.css": "^8.0.1"
},
"devDependencies": {
"@wordpress/browserslist-config": "^2.6.0",
"@wordpress/scripts": "^6.2.0",
"browser-sync": "^2.26.7",
"cssnano": "^4.1.10",
"dotenv": "^8.2.0",
"postcss-cli": "^7.1.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-omit-import-tilde": "^1.0.1",
"postcss-preset-env": "^6.7.0",
"postcss-pxtorem": "^4.0.1",
"postcss-url": "^8.0.0",
"stylelint": "^13.0.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-config-wordpress": "^16.0.0"
},
"release-it": {
"hooks": {
"before:bump": "npm run build",
"after:bump": "bash ./bin/create-release.sh ${version}"
},
"github": {
"release": true,
"assets": [
"hamworks-theme.zip"
]
},
"npm": {
"publish": false
}
}
}