This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
executable file
·117 lines (117 loc) · 3.58 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
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
{
"name": "tenup-scaffold",
"version": "1.0.0",
"description": "Project Description",
"homepage": "https://project-domain.tld",
"repository": {
"type": "git",
"url": "https://project-git-repo.tld"
},
"author": {
"name": "10up",
"email": "[email protected]",
"url": "https://10up.com",
"role": "developer"
},
"scripts": {
"start": "composer install --ignore-platform-reqs && npm install && npm run build",
"build": "cross-env NODE_ENV=production webpack --config config/webpack.config.prod.js",
"dev": "cross-env NODE_ENV=development webpack --config config/webpack.config.dev.js",
"watch": "cross-env NODE_ENV=development webpack --watch --config config/webpack.config.dev.js",
"build-release": "npm install && composer install --no-dev -o && npm run build",
"lint-release": "npm install && composer install && npm run lint",
"lint-css": "stylelint assets/css",
"lint-js": "eslint assets/js",
"lint-php": "composer run lint",
"format-js": "eslint --fix assets/js",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"test:a11y": "node tests/accessibility/compliance/pa11y.js"
},
"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/babel-preset-default": "^1.0.0",
"@10up/eslint-config": "^2.0.0",
"@10up/stylelint-config": "^1.0.9",
"@babel/core": "^7.9.0",
"@wordpress/eslint-plugin": "^5.0.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"backstopjs": "^4.4",
"browser-sync": "^2.26.7",
"browser-sync-webpack-plugin": "^2.2.2",
"browserslist": "^4.8.2",
"caniuse-db": "^1.0.30001016",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"core-js": "^3.6.0",
"cross-env": "^5.2.0",
"css-loader": "^3.4.0",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"husky": "^3.1.0",
"imagemin-webpack-plugin": "^2.4.2",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.9.0",
"pa11y": "^5.3.0",
"postcss-editor-styles": "^0.3.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.0.4",
"stylelint": "^9.10.1",
"stylelint-config-wordpress": "^14.0.0",
"stylelint-declaration-use-variable": "^1.7.2",
"stylelint-order": "^2.2.1",
"stylelint-webpack-plugin": "^1.1.2",
"terser": "^4.4.3",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10",
"webpack-fix-style-only-entries": "^0.4.0",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
},
"testing": {
"urls": {
"homepage": "http://tenup-scaffold.test",
"article": "http://tenup-scaffold.test/hello-world",
"search-results": "http://tenup-scaffold.test/?s=hello",
"local": "http://tenup-scaffold.test"
},
"accessibility": {
"compliance": "WCAG2AA"
}
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"normalize.css": "^8.0.1"
}
}