-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
88 lines (88 loc) · 3.34 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": "gravity-pdf",
"private": true,
"dependencies": {
"algoliasearch": "^4.13.1",
"classnames": "^2.3.1",
"core-js": "^3.23.4",
"lodash.debounce": "^4.0.8",
"object-to-formdata": "^4.4.2",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dropzone": "^14.2.2",
"react-instantsearch": "^7.0.0",
"react-redux": "^8.0.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"redux": "^4.2.0",
"redux-saga": "^1.1.3",
"redux-watch": "^1.2.0",
"reselect": "^4.1.6",
"sprintf-js": "^1.1.2",
"superagent": "^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"@wordpress/env": "^9.0.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-react-remove-properties": "^0.3.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"dotenv": "^16.0.1",
"enzyme": "^3.11.0",
"eslint": "^8.52.0",
"eslint-config-standard": "^17.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-enzyme": "^7.1.2",
"jquery": "^3.6.0",
"json-loader": "^0.5.7",
"mini-css-extract-plugin": "^2.6.1",
"redux-devtools-extension": "^2.13.9",
"redux-mock-store": "^1.5.4",
"sass": "^1.53.0",
"sass-loader": "^13.0.2",
"standard": "^17.0.0",
"terser-webpack-plugin": "^5.3.3",
"testcafe": "^3.0",
"url-loader": "^4.1.1",
"webpack": "^5.73.0",
"webpack-cli": "^5.1.0",
"webpack-merge": "^5.8.0"
},
"scripts": {
"lint:js": "eslint \"src/assets/js/**/*.js\"",
"lint:js:fix": "eslint \"src/assets/js/**/*.js\" --fix",
"test:e2e": "cross-env NODE_ENV=test testcafe chrome",
"test:e2e:headless": "cross-env NODE_ENV=test testcafe chrome:headless",
"test:e2e:watch": "cross-env NODE_ENV=test testcafe chrome -L",
"test:php": "npm run wp-env run tests-wordpress env PHP_IDE_CONFIG=serverName=localhost /var/www/html/wp-content/plugins/gravity-pdf/vendor/bin/phpunit -- -c /var/www/html/wp-content/plugins/gravity-pdf/phpunit.xml.dist",
"test:php:multisite": "npm run wp-env run tests-wordpress env PHP_IDE_CONFIG=serverName=localhost /var/www/html/wp-content/plugins/gravity-pdf/vendor/bin/phpunit -- -c /var/www/html/wp-content/plugins/gravity-pdf/tests/phpunit/multisite.xml",
"test:js": "jest --verbose",
"test:js:coverage": "jest --coverage --verbose",
"test:js:watch": "jest --watchAll",
"prebuild:core-fonts": "bash bin/json-payload.sh https://api.github.com/repos/GravityPDF/mpdf-core-fonts/contents/ core-fonts.json",
"build:dev": "cross-env NODE_ENV=development webpack --watch",
"build:production": "cross-env NODE_ENV=production webpack",
"wp-env": "wp-env",
"env:install": "bash bin/install.sh"
}
}