-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
71 lines (71 loc) · 2.15 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
{
"name": "dark-matter",
"version": "2.3.4",
"description": "Domain Mapping plugin for WordPress.",
"main": "index.js",
"scripts": {
"build": "NODE_ENV=production webpack --mode production",
"build-dev": "NODE_ENV=development webpack --mode none",
"build-all": "npm run build && npm run build-dev",
"bump": "bump composer.json dark-matter.php package.json && composer update --lock && npm install --package-lock-only",
"lint": "composer lint && eslint",
"lint-js": "eslint",
"release": "composer install --no-dev --optimize-autoloader && npm ci --ignore-scripts && npm run build-all",
"start": "composer install && npm install && npm run build-all",
"test": "snyk test"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.js": [
"npm run lint-js"
],
"*.php": [
"composer run lint"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/cameronterry/dark-matter.git"
},
"author": "Cameron Terry",
"license": "GPL-2.0",
"bugs": {
"url": "https://github.com/cameronterry/dark-matter/issues"
},
"homepage": "https://github.com/cameronterry/dark-matter#readme",
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@wordpress/eslint-plugin": "^13.4.0",
"babel-loader": "^9.0.0",
"css-loader": "^6.7.1",
"cssnano": "^5.1.7",
"eslint": "^8.13.0",
"eslint-webpack-plugin": "^3.1.1",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.0",
"postcss": "^8.4.12",
"postcss-import": "^15.0.0",
"postcss-loader": "^7.0.1",
"postcss-preset-env": "^7.4.3",
"prettier": "^2.6.2",
"snyk": "^1.996.0",
"style-loader": "^3.3.1",
"version-bump-prompt": "^6.1.0",
"webpack": "^5.72.0",
"webpack-cli": "^5.0.1",
"webpack-remove-empty-scripts": "^1.0.1",
"webpackbar": "^5.0.2"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"@wordpress/i18n": "^4.6.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}