-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.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
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
{
"name": "wc-gateway-moneybutton",
"version": "0.1.0",
"description": "Brightnet.io Plugin Scaffold - Money Button Gateway for WooCommerce",
"author": {
"name": "brightnet.io",
"email": "contact@brightnet.io",
"url": "https://brightnet.io",
"role": "developer"
},
"license": "SEE LICENSE IN COPYING",
"private": true,
"scripts": {
"test": "node bin/phpunit.js -c src/test/phpunit.xml",
"integration": "node bin/phpunit.js -c src/integration-test/phpunit.xml",
"start": "composer install && npm install && npm run build",
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.js",
"dev": "cross-env NODE_ENV=development webpack --config webpack/webpack.dev.js",
"watch": "cross-env NODE_ENV=development webpack --watch --config webpack/webpack.dev.js",
"build-release": "npm install && composer install --no-dev -o && npm run build",
"package-release": "npm run build-release && node bin/makePackage.js",
"lint-release": "npm install && composer install && npm run lint",
"lint-css": "stylelint src/main/assets/css",
"lint-js": "eslint src/main/assets/js",
"lint-php": "composer run lint",
"format-js": "eslint --fix src/main/assets/js",
"format-css": "stylelint --fix src/main/assets/css",
"lint": "npm run lint-css && npm run lint-js && npm run lint-php",
"format": "npm run format-js && npm run format-css"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.css": [
"stylelint"
],
"*.js": [
"eslint"
],
"*.php": [
"vendor/bin/phpcs ."
]
},
"repository": {
"type": "git",
"url": "https://bitbucket.org/brightnet-io/wc-gateway-moneybutton"
},
"devDependencies": {
"@10up/eslint-config": "^1.0.9",
"@10up/stylelint-config": "^1.0.3",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"@octokit/rest": "^16.28.2",
"archiver": "^3.0.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"browser-sync": "^2.26.7",
"browser-sync-webpack-plugin": "^2.2.2",
"browserslist": "^4.5.5",
"caniuse-db": "^1.0.30000963",
"clean-webpack-plugin": "^2.0.1",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"cssnano": "^4.1.10",
"eslint": "^5.4.0",
"eslint-loader": "^2.1.2",
"fs-extra": "^8.0.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.12.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^5.3.0",
"sass-loader": "^7.1.0",
"stylelint": "^9.6.0",
"stylelint-config-wordpress": "^13.1.0",
"stylelint-declaration-use-variable": "^1.7.0",
"stylelint-order": "^1.0.0",
"stylelint-webpack-plugin": "^0.10.5",
"terser": "^3.17.0",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1",
"webpack-fix-style-only-entries": "^0.2.1",
"webpack-merge": "^4.2.1",
"webpackbar": "^3.2.0"
},
"engineStrict": true,
"engines": {
"node": ">=8.11"
},
"dependencies": {
"normalize.css": "^8.0.0"
}
}