-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
69 lines (69 loc) · 2.88 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
{
"name": "Formality",
"version": "1.5.7",
"author": "Michele Giorgi <[email protected]>",
"homepage": "https://giorgi.io",
"private": true,
"licenses": [
{
"type": "GPLv3",
"url": "https://www.gnu.org/licenses/gpl-3.0.txt"
}
],
"browserslist": [
"extends @wordpress/browserslist-config"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "cross-env NODE_ENV=development run-s mix",
"build:production": "cross-env NODE_ENV=production run-s clean mix",
"start": "cross-env NODE_ENV=development run-s \"mix --watch\"",
"mix": "webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
"clean": "run-p clean:*",
"clean:dist": "rimraf dist",
"release": "yarn build:production && mkdir -p release/formality/trunk && cp -R admin dist includes languages public readme.txt formality.php license.txt uninstall.php index.php release/formality/trunk && cp -R release/formality/trunk release/formality/tags",
"download": "yarn build:production && mkdir -p download/formality && cp -R admin dist includes languages public readme.txt formality.php license.txt uninstall.php index.php download/formality && cd ./download && zip -r formality.zip formality -x '.DS_Store' -x '__MACOSX' && cd -",
"lint": "run-s -c lint:*",
"lint:scripts": "eslint assets/scripts",
"lint:styles": "stylelint \"assets/**/*.{vue,css,sass,scss,less}\"",
"test": "run-s -c lint",
"i18n:pot": "yarn build && wp i18n make-pot . languages/formality.pot --exclude=assets,release,download --headers='{\"Last-Translator\":\"Formality <[email protected]>\",\"Language-Team\":\"Formality <[email protected]>>\"}'",
"i18n:json": "rm -rf ./languages/*.json || true && wp i18n make-json languages/ --no-purge --pretty-print",
"i18n": "yarn i18n:pot",
"dependencies": "yarn upgrade-interactive --latest"
},
"devDependencies": {
"@babel/plugin-syntax-jsx": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@wordpress/babel-preset-default": "^7.4.0",
"@wordpress/browserslist-config": "^5.3.0",
"@wordpress/dependency-extraction-webpack-plugin": "^4.3.0",
"babel-eslint": "^10.1.0",
"browser-sync": "^2.27.10",
"browser-sync-webpack-plugin": "^2.0.1",
"cross-env": "^7.0.2",
"eslint": "^8.26.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.31.10",
"laravel-mix": "^6.0.49",
"laravel-mix-banner": "^0.1.4",
"laravel-mix-copy-watched": "^3.0.0",
"laravel-mix-purgecss": "^6.0.0",
"npm-run-all": "^4.1",
"purgecss-with-wordpress": "^5.0.0",
"rimraf": "^3.0.2",
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"stylelint": "^14.14.0",
"stylelint-config-standard": "^29.0.0",
"vue-template-compiler": "^2.7.13"
},
"dependencies": {
"clone-deep": "^4.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-sortable-hoc": "^2.0.0"
}
}