-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 4.31 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@optmedia/optmedia",
"description": "Speed up your site by converting images and videos for light formats and using them with responsive resizing and lazy load.",
"version": "0.2.0",
"repository": {
"type": "git",
"url": "https://github.com/renanbatel/optmedia"
},
"author": "Renan Batel <renanbatel@gmail.com> (https://github.com/renanbatel)",
"license": "MIT",
"bugs": {
"url": "https://github.com/renanbatel/optmedia/issues"
},
"scripts": {
"prebuild": "composer install -o --no-dev",
"postbuild": "composer install -o",
"docker:up": "docker-compose -f docker/docker-compose.yml up -d",
"docker:down": "docker-compose -f docker/docker-compose.yml down",
"docker:stop": "docker-compose -f docker/docker-compose.yml stop",
"build": "npm run prebuild && npm run build:prod && npm run postbuild",
"build:dev": "webpack --config webpack/webpack.dev.js",
"build:prod": "cross-env NODE_ENV=production BABEL_ENV=production webpack -p --config webpack/webpack.prod.js",
"build:analyse": "cross-env NODE_ENV=production BABEL_ENV=production webpack -p --config webpack/webpack.analyse.js",
"watch": "webpack --config webpack/webpack.dev.js --watch",
"lint:js": "eslint --ext .jsx --ext .js .",
"lint:scss": "stylelint ./src/**/*.scss",
"lint:php": "composer lint",
"format:js": "eslint --ext .jsx --ext .js --fix .",
"format:scss": "stylelint --fix ./src/**/*.scss",
"format:php": "composer format",
"test:js": "jest -c jest.json --verbose",
"test:js:watch": "jest -c jest.json --watch",
"test:js:coverage": "jest -c jest.json --coverage",
"test:php": "docker exec -u www-data optmedia_wordpress_container phpunit -c wp-content/plugins/optmedia/phpunit.xml",
"test:php:all": "docker exec -u www-data optmedia_wordpress_container sh -c \"phpunit -c wp-content/plugins/optmedia/phpunit.xml\"",
"i18n:makepot": "php scripts/makepot/run.php src/wordpress/ src/wordpress/languages/optmedia.pot optmedia"
},
"lint-staged": {
"*.scss": [
"npm run format:scss",
"git add"
],
"*.{js,jsx}": [
"npm run format:js",
"git add",
"npm run test:js"
],
"*.php": [
"npm run format:php",
"git add",
"npm run test:php:all"
]
},
"devDependencies": {
"@babel/core": "7.6.2",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/preset-env": "7.6.2",
"@babel/preset-react": "7.0.0",
"@namics/stylelint-bem": "6.1.0",
"@types/jest": "24.0.21",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"check-prop-types": "1.1.2",
"copy-webpack-plugin": "4.5.1",
"cpx": "1.5.0",
"cross-env": "5.1.6",
"css-loader": "0.28.11",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.15.0",
"enzyme-to-json": "3.4.2",
"error-overlay-webpack-plugin": "0.1.5",
"eslint": "6.5.1",
"eslint-config-airbnb": "18.0.1",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.15.1",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"file-loader": "4.2.0",
"filemanager-webpack-plugin": "1.0.26",
"husky": "3.0.9",
"jest": "24.9.0",
"lint-staged": "9.4.2",
"node-sass": "4.13.0",
"redux-mock-store": "1.5.3",
"sass-loader": "8.0.0",
"shallow-equal": "1.2.0",
"stylelint": "11.0.0",
"terser-webpack-plugin": "2.2.1",
"webpack": "4.41.2",
"webpack-cli": "3.3.10",
"webpack-jarvis": "0.3.2",
"webpack-merge": "4.2.2"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.25",
"@fortawesome/free-brands-svg-icons": "5.11.2",
"@fortawesome/free-regular-svg-icons": "5.11.2",
"@fortawesome/free-solid-svg-icons": "5.11.2",
"@fortawesome/react-fontawesome": "0.1.7",
"antd": "3.24.3",
"classnames": "2.2.6",
"core-js": "3.2.1",
"debug": "4.1.1",
"i18next": "17.1.0",
"prop-types": "15.7.2",
"react": "16.10.2",
"react-dom": "16.10.2",
"react-i18next": "10.13.1",
"react-redux": "7.1.1",
"react-router-dom": "5.1.2",
"redux": "4.0.4",
"redux-devtools-extension": "2.13.8",
"redux-saga": "1.1.1",
"regenerator-runtime": "0.13.3",
"superagent": "5.1.0",
"vanilla-lazyload": "12.3.0",
"wpapi": "1.2.1"
}
}