forked from godaddy-wordpress/go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·156 lines (156 loc) · 5.56 KB
/
package.json
File metadata and controls
executable file
·156 lines (156 loc) · 5.56 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "go",
"version": "1.1.1",
"description": "Go is an innovative, Gutenberg-first WordPress theme, hyper-focused on empowering makers to build beautifully rich websites with WordPress.",
"homepage": "https://github.com/godaddy-wordpress/go",
"repository": {
"type": "git",
"url": "https://github.com/godaddy-wordpress/go",
"base": "godaddy-wordpress/go"
},
"author": {
"name": "GoDaddy",
"url": "https://www.godaddy.com",
"role": "Developer"
},
"engineStrict": true,
"engines": {
"node": ">=8.11",
"php": ">= 5.6",
"wordpress": ">= 5.0"
},
"badges": [
"[](https://circleci.com/gh/godaddy-wordpress/go)",
"[](https://github.com/<%= pkg.repository.base %>/blob/master/license.txt)",
"[) %>-8892bf.svg)](https://secure.php.net/supported-versions.php)",
"[) %>-blue.svg)](https://wordpress.org/download/release-archive/)"
],
"scripts": {
"start": "composer install && npm install && npm run build",
"build": "NODE_ENV=production webpack --config .dev/config/webpack.prod.js",
"postbuild": "mkdir temp && cp -a dist/* temp && NODE_ENV=development webpack --config .dev/config/webpack.dev.js && cp -a temp/* dist && rm -rf temp && .dev/deploy-scripts/tweak-css-files.sh && grunt l10n",
"dev": "NODE_ENV=development webpack --config .dev/config/webpack.dev.js",
"postdev": "mkdir temp && cp -a dist/* temp && NODE_ENV=production webpack --config .dev/config/webpack.prod.js && cp -a temp/* dist && rm -rf temp && .dev/deploy-scripts/tweak-css-files.sh",
"watch": "NODE_ENV=development webpack --watch --config .dev/config/webpack.dev.js",
"package": "rm -rf build && mkdir -p build/go && npm run build && rsync -av --exclude-from .distignore --delete . build/go && cd build && zip -r go.zip ./go",
"version": "grunt version && grunt readme && git add -A .",
"postversion": "git push && git push --tags",
"build-release": "npm install && npm run build",
"lint-release": "npm install && composer install && npm run lint",
"lint-css": "stylelint 'assets/shared/css' '.dev/assets/design-styles/**/*.css'",
"lint-js": "eslint assets/shared/js",
"lint-php": "composer run lint",
"format-js": "eslint --fix assets/shared/js",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"test-a11y": "node .dev/tests/accessibility/compliance/pa11y.js",
"test-php": "./vendor/bin/phpunit"
},
"locales": {
"da_DK": "Dansk",
"de_DE": "Deutsch",
"el": "Ελληνικά",
"es_ES": "Español",
"fi": "Suomi",
"fr_FR": "Français",
"hi_IN": "हिन्दी",
"id_ID": "Bahasa Indonesia",
"it_IT": "Italiano",
"ja": "日本語",
"ko_KR": "한국어",
"mr": "मराठी",
"nb_NO": "Norsk bokmål",
"nl_NL": "Nederlands",
"pl_PL": "Polski",
"pt_BR": "Português do Brasil",
"pt_PT": "Português",
"ru_RU": "Русский",
"sv_SE": "Svenska",
"th": "ไทย",
"tr_TR": "Türkçe",
"uk": "Українська",
"vi": "Tiếng Việt",
"zh_CN": "简体中文",
"zh_TW": "繁體中文"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.css": [
"stylelint"
],
"*.js": [
"eslint"
],
"*.php": [
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s"
]
},
"license": "MIT",
"devDependencies": {
"@10up/eslint-config": "^1.0.9",
"@10up/stylelint-config": "^1.0.3",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"browser-sync": "^2.26.4",
"browser-sync-webpack-plugin": "^2.2.2",
"browserslist": "^4.1.0",
"caniuse-db": "^1.0.30000878",
"clean-webpack-plugin": "^2.0.1",
"copy-webpack-plugin": "^5.0.2",
"css-loader": "^2.1.1",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.10",
"eslint": "^5.4.0",
"eslint-loader": "^2.1.2",
"grunt": "^1.0.3",
"grunt-potomo": "^3.5.0",
"grunt-text-replace": "^0.4.0",
"grunt-wp-i18n": "^1.0.2",
"grunt-wp-readme-to-markdown": "^2.0.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"matchdep": "^2.0.0",
"mini-css-extract-plugin": "^0.5.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"pa11y": "^5.0.4",
"perfectionist": "^2.4.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-mixins": "^6.2.1",
"postcss-preset-env": "^5.3.0",
"strip-css-comments-cli": "^2.0.2",
"stylelint": "^9.6.0",
"stylelint-config-wordpress": "^13.1.0",
"stylelint-declaration-use-variable": "^1.7.0",
"stylelint-order": "^1.0.0",
"stylelint-webpack-plugin": "^0.10.5",
"terser": "^3.17.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0",
"webpack-fix-style-only-entries": "^0.2.1",
"webpack-merge": "^4.2.1",
"webpackbar": "^3.1.5"
},
"testing": {
"urls": {
"local": "http://go.test",
"staging": "",
"production": ""
},
"accessibility": {
"compliance": "WCAG2A"
}
},
"dependencies": {
"css-vars-ponyfill": "^2.0.2",
"lodash.throttle": "^4.1.1",
"normalize.css": "^8.0.0"
}
}