-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
82 lines (82 loc) · 2.07 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
{
"name": "plugin-name",
"version": "1.0.0",
"repository": "{URL}",
"author": "{AUTHOR} <{AUTHOR_URL}>",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@wordpress/babel-preset-default": "^6.3.2",
"@wordpress/browserslist-config": "^4.1.0",
"@wordpress/dependency-extraction-webpack-plugin": "^3.2.1",
"@wordpress/eslint-plugin": "^9.1.2",
"babel-eslint": "^10.1.0",
"babel-preset-env": "^1.7.0",
"browser-sync": "^2.27.5",
"browser-sync-webpack-plugin": "^2.3.0",
"cross-env": "^7.0.3",
"css-loader": "^6.3.0",
"eslint": "^7.32.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-compat": "^3.13.0",
"eslint-plugin-import": "^2.24.2",
"husky": "^7.0.2",
"jest": "^27.2.5",
"jest-fetch-mock": "^3.0.3",
"laravel-mix": "^6.0.31",
"laravel-mix-copy-watched": "^2.3.1",
"laravel-mix-purgecss": "^6.0.0",
"mix-env-file": "^0.1.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.9",
"prettier": "^2.4.1",
"purgecss-with-wordpress": "^4.0.3",
"sass": "^1.42.1",
"sass-loader": "^12.1.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"typescript": "^4.4.3"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"jest": {
"automock": false,
"verbose": true,
"testURL": "http://domain.tld/",
"setupFiles": [
"<rootDir>/.tests/js/setupTests.js"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"transform": {
"\\.[tj]sx?$": [
"babel-jest",
{
"presets": [
[
"babel-preset-env",
{
"targets": {
"node": 10
}
}
]
]
}
]
}
},
"scripts": {
"cs": "run-s -c cs:*",
"cs:js": "eslint assets/.src/js",
"cs:scss": "stylelint \"assets/.src/**/*.scss\"",
"cs:php": "composer cs",
"build": "cross-env NODE_ENV=development npx mix --mix-config=.webpack.mix.js",
"build:production": "cross-env NODE_ENV=production npx mix --production --mix-config=.webpack.mix.js",
"start": "cross-env NODE_ENV=development npx mix --mix-config=.webpack.mix.js -- --watch",
"unit": "jest",
"postinstall": "npx husky install"
}
}