generated from 10up/plugin-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
94 lines (94 loc) · 3.13 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
{
"name": "@platform-coop-toolkit/coop-library-framework",
"version": "1.0.0-rc.2",
"description": "Custom post type, metadata, and localization utilities for the Platform Co-op Resource Library.",
"author": {
"name": "OCAD University",
"email": "[email protected]",
"url": "https://github.com/platform-coop-toolkit",
"role": "developer"
},
"license": "BSD-3-Clause",
"scripts": {
"test": "composer run test",
"start": "composer install && 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",
"format-js": "eslint --fix assets/js",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"localize": "wp i18n make-pot . languages/coop-library-framework.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/platform-coop-toolkit/coop-library-framework/issues\"}'",
"readme": "gulp readme"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.css": [
"stylelint"
],
"*.js": [
"eslint"
]
},
"repository": {
"type": "git",
"url": "https://github.com/platform-coop-toolkit/coop-library-framework"
},
"devDependencies": {
"@10up/eslint-config": "^1.0.9",
"@10up/stylelint-config": "^1.0.9",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/register": "^7.10.1",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"browser-sync": "^2.26.7",
"browser-sync-webpack-plugin": "^2.2.2",
"browserslist": "^4.12.0",
"caniuse-db": "^1.0.30001079",
"clean-webpack-plugin": "^2.0.2",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.5.3",
"cssnano": "^4.1.10",
"eslint": "^7.2.0",
"eslint-loader": "^4.0.2",
"gulp": "^4.0.2",
"gulp-readme-to-markdown": "^0.2.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.9",
"mini-css-extract-plugin": "^0.9.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"stylelint": "^9.6.0",
"stylelint-config-wordpress": "^14.0.0",
"stylelint-declaration-use-variable": "^1.7.2",
"stylelint-order": "^4.1.0",
"stylelint-webpack-plugin": "^1.2.3",
"terser": "^4.7.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-fix-style-only-entries": "^0.5.0",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
},
"engineStrict": true,
"engines": {
"node": ">=8.11"
},
"dependencies": {
"days-in-month": "^0.1.0"
}
}