This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.69 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
{
"name": "truesight",
"version": "0.1.0",
"description": "Cool blocks for Gutenberg.",
"author": {
"name": "Patrick Villanueva",
"email": "[email protected]",
"url": "https://pkvillanueva.com",
"role": "developer"
},
"scripts": {
"start": "composer install --ignore-platform-reqs && npm install && npm run build",
"build": "NODE_ENV=production webpack --config config/webpack.prod.js",
"dev": "NODE_ENV=development webpack --config config/webpack.dev.js",
"watch": "NODE_ENV=development webpack --watch --config config/webpack.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",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format-scss": "stylelint --fix assets/css",
"format-js": "eslint --fix assets/js",
"format-php": "composer run lint-fix",
"format": "npm run format-js && npm run format-php",
"test:unit": "phpunit"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.css": [
"stylelint"
],
"*.js": [
"eslint"
],
"*.php": [
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s"
]
},
"repository": {
"type": "git",
"url": "https://github.com/pkvillanueva/truesight"
},
"devDependencies": {
"@wordpress/babel-preset-default": "^4.1.0",
"@wordpress/eslint-plugin": "^2.3.0",
"@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.5",
"browser-sync-webpack-plugin": "^2.2.2",
"browserslist": "^4.5.5",
"caniuse-db": "^1.0.30000963",
"clean-webpack-plugin": "^2.0.1",
"copy-webpack-plugin": "^5.0.3",
"css-loader": "^2.1.1",
"cssnano": "^4.1.10",
"eslint": "^5.4.0",
"eslint-loader": "^2.1.2",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"mini-css-extract-plugin": "^0.5.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^5.3.0",
"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.30.0",
"webpack-cli": "^3.3.1",
"webpack-fix-style-only-entries": "^0.2.1",
"webpack-merge": "^4.2.1",
"webpackbar": "^3.2.0"
},
"engineStrict": true,
"engines": {
"node": ">=8.11"
}
}