-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.44 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 4.44 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "formidable",
"private": true,
"main": "webpack.config.js",
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress",
"dev": "cross-env NODE_ENV=default webpack --watch",
"watch": "npm run dev",
"serve": "node -e \"const prompts=require('prompts');(async()=>{const responses=await prompts([{type:'text',name:'domain',message:'WordPress site domain',initial:'formidable.local'},{type:'text',name:'watch',message:'Enable JS/PHP watching (N/Y)',initial:'N'}]);process.env.SITE_DOMAIN=responses.domain;process.env.ENABLE_WATCH=responses.watch;require('./webpack.dev.js')})()\"",
"lint": "./node_modules/.bin/eslint .",
"lint:fix": "./node_modules/.bin/eslint . --fix",
"package-plugin": "./bin/build-plugin.sh formidable",
"set-version": "./bin/set-version.sh formidable formidable classes/helpers/FrmAppHelper",
"minimize": "npx google-closure-compiler --js=js/formidable.js --js_output_file=js/formidable.min.js --compilation_level=WHITESPACE && npx google-closure-compiler --js=stripe/js/frmstrp.js --js_output_file=stripe/js/frmstrp.min.js --compilation_level=WHITESPACE",
"zip": "./bin/zip-plugin.sh formidable",
"git-release": "./bin/git-release.sh formidable formidable-forms",
"makepot": "wp i18n make-pot . languages/formidable.pot --skip-audit",
"php-cs-fixer": "./vendor/bin/php-cs-fixer fix ./ --allow-risky=yes",
"rector": "./vendor/bin/rector process",
"phpstan": "./vendor/bin/phpstan analyze ./ --memory-limit 2G",
"phpunit": "./vendor/bin/phpunit",
"phpcs": "./vendor/bin/phpcs --parallel=10 ./",
"phpcbf": "./vendor/bin/phpcbf --parallel=10 ./",
"env": "wp-env",
"start": "wp-scripts start assets/js/scripts.js --webpack-no-externals --output-path=dist",
"e2e:run": "cypress run --config-file cypress.config.js",
"e2e:githubrun": "cypress run --config-file cypress.config.js --env FORMIDABLE_FOLDER=formidable-forms"
},
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
},
"dependencies": {
"@babel/runtime": "^7.23.0",
"@wordpress/api-fetch": "^2.2.8",
"@wordpress/dom-ready": "^3.6.0",
"@wordpress/api-request": "^1.0.0",
"@wordpress/components": "^6.0.1",
"@wordpress/data": "^3.1.2",
"@wordpress/element": "^2.16.0",
"@wordpress/i18n": "^3.14.0",
"@wordpress/url": "^2.17.0",
"classnames": "^2.2.6",
"glob": "^11.0.3",
"google-closure-compiler": "^20240317.0.0",
"npm": "^10.5.2",
"prop-types": "^15.8.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.3.0",
"@babel/core": "7.25.7",
"@babel/eslint-parser": "^7.28.6",
"@babel/plugin-syntax-jsx": "7.25.7",
"@babel/plugin-transform-react-jsx": "^7.22.15",
"@babel/preset-env": "^7.22.15",
"@babel/preset-react": "^7.22.15",
"@svgr/webpack": "^8.1.0",
"@wordpress/babel-plugin-makepot": "^5.25.0",
"@wordpress/babel-preset-default": "^7.25.0",
"@wordpress/browserslist-config": "^5.30.0",
"@wordpress/env": "^9.0.0",
"@wordpress/eslint-plugin": "^24.2.0",
"@wordpress/stylelint-config": "^23.31.0",
"axe-core": "^4.9.1",
"babel-loader": "9.2.1",
"babel-plugin-styled-components": "^2.1.4",
"baseline-browser-mapping": "^2.9.5",
"browser-sync": "^3.0.4",
"copy-webpack-plugin": "10.2.0",
"cross-env": "7.0.3",
"css-loader": "6.2.0",
"css-unicode-loader": "^1.0.3",
"cypress": "^13.13.1",
"cypress-axe": "^1.5.0",
"cypress-html-validate": "^6.1.0",
"cypress-xpath": "^2.0.1",
"eslint": "9.39.2",
"eslint-import-resolver-node": "0.3.9",
"eslint-plugin-compat": "^6.0.2",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^62.7.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-no-jquery": "^3.1.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-sonarjs": "^4.0.0",
"eslint-plugin-unicorn": "^63.0.0",
"globals": "^15.14.0",
"html-validate": "^8.20.0",
"mini-css-extract-plugin": "^2.9.2",
"prompts": "^2.4.2",
"raw-loader": "^4.0.2",
"sass": "1.54.0",
"sass-loader": "16.0.3",
"serialize-javascript": "^6.0.1",
"style-loader": "3.2.1",
"webpack": "5.97.0",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.4.2",
"webpack-dev-server": "^5.0.4",
"webpack-remove-empty-scripts": "^1.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/Strategy11/formidable-forms.git"
},
"homepage": "https://formidableforms.com"
}