-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 1.87 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
{
"name": "@mypreview/woo-additional-terms",
"version": "1.6.0",
"private": true,
"description": "Add additional terms and condition checkbox to the WooCommerce checkout.",
"homepage": "https://github.com/mypreview/woo-additional-terms#readme",
"bugs": {
"url": "https://github.com/mypreview/woo-additional-terms/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mypreview/woo-additional-terms.git"
},
"license": "GPL-3.0-or-later",
"author": "MyPreview",
"scripts": {
"archive": "npm run minify && composer bundle",
"format": "prettier --write \"**/*.{js,json}\"",
"lint:css": "stylelint assets/css/*.css",
"lint:css:fix": "stylelint assets/css/*.css --fix",
"lint:js": "eslint assets/js/*.js",
"lint:js:fix": "eslint assets/js/*.js --fix",
"lint:wpcs": "composer lint:wpcs",
"lint:wpcs:fix": "composer lint:wpcbf",
"makepot": "composer make-pot",
"minify": "cross-env BABEL_ENV=default NODE_ENV=production npm run minify:css && npm run minify:js && npm run minify:css:path",
"minify:css:path": "replace-in-files --string='../' --replacement='../../' assets/css/minified",
"minify:css": "rimraf assets/css/minified && cleancss --batch --batch-suffix '' assets/css/*.css --output assets/css/minified",
"minify:js": "rimraf assets/js/minified && npm run format && babel assets/js/*.js --out-dir assets/js/minified --no-comments --minified --presets=@babel/preset-env"
},
"devDependencies": {
"@babel/cli": "7.21.5",
"@babel/core": "7.21.5",
"@babel/preset-env": "7.21.5",
"@wordpress/browserslist-config": "5.15.0",
"@wordpress/eslint-plugin": "14.5.0",
"@wordpress/prettier-config": "2.15.0",
"@wordpress/stylelint-config": "21.15.0",
"clean-css-cli": "5.6.2",
"cross-env": "7.0.3",
"eslint": "8.39.0",
"prettier": "npm:[email protected]",
"replace-in-files-cli": "2.2.0",
"rimraf": "5.0.0",
"stylelint": "14.16.1"
}
}