generated from helsingborg-stad/Wordpress-Plugin-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 3.21 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
{
"name": "@helsingborg-stad/mod-my-pages",
"version": "1.0.6",
"description": "Modularity Wordpress Plugin",
"main": "",
"repository": {
"type": "git",
"url": "https://github.com/helsingborg-stad/mod-my-pages"
},
"author": "Nikolas Ramstedt",
"license": "MIT",
"bugs": {
"url": "https://github.com/helsingborg-stad/mod-my-pages/issues"
},
"homepage": "https://github.com/helsingborg-stad/mod-my-pages",
"scripts": {
"test:php": "./vendor/bin/phpunit --verbose source/tests",
"watch": "cross-env NODE_ENV=development webpack --watch",
"build:dev": "cross-env NODE_ENV=development webpack",
"build": "cross-env NODE_ENV=production webpack",
"lint": "npm run lint:php",
"fix": "npm run lint:php:fix",
"lint:types": "tsc --noemit",
"lint:php": "./vendor/bin/psalm --config='./psalm.xml' --no-diff",
"lint:php:fix": "./vendor/bin/psalm --config='./psalm.xml' --alter --issues=MissingReturnType,MissingClosureReturnType,InvalidFalsableReturnType,MissingParamType",
"lint:scripts": "eslint . --ext .ts,.tsx,.jsx",
"lint:scripts:fix": "eslint . --ext .ts,.tsx,.jsx --fix",
"format": "prettier --write 'source/**/*.{js,jsx,ts,tsx,css,scss,md,php}' --config ./.prettierrc"
},
"browserslist": [
"> 1%",
"not dead"
],
"files": [
"dist/"
],
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@prettier/plugin-php": "^0.19.4",
"@types/jest": "^27.4.1",
"@types/js-cookie": "^3.0.1",
"@types/lodash.isequal": "^4.5.6",
"@types/qrcode": "^1.4.2",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"autoprefixer": "^10.4.2",
"babel-loader": "^8.2.5",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.6.0",
"css-minimizer-webpack-plugin": "^3.4.1",
"eslint": "^8.12.0",
"eslint-config-airbnb-typescript": "^16.2.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.1.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"import-glob-loader": "^1.1.0",
"jest": "^27.5.1",
"mini-css-extract-plugin": "^2.5.3",
"postcss-loader": "^6.2.1",
"prettier": "^2.8.6",
"sass": "^1.49.7",
"sass-loader": "^12.4.0",
"ts-jest": "^27.1.4",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack": "^5.68.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-config-utils": "^2.3.1",
"webpack-manifest-plugin": "^4.1.1",
"webpack-notifier": "^1.15.0",
"webpack-remove-empty-scripts": "^0.7.3"
},
"browser": {
"child_process": false
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
}