/
package.json
70 lines (70 loc) · 2.78 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
{
"name": "lightning",
"version": "3.3.0",
"description": "[![Build Status](https://travis-ci.org/vektor-inc/Lightning.svg?branch=master)](https://travis-ci.org/vektor-inc/Lightning)",
"main": "gulpfile.js",
"scripts": {
"gulp": "gulp",
"build": "npm run build:script && npm run build:text-domain && npx gulp sass",
"build:sass": "npx gulp sass",
"dist": "rimraf ./vendor/ && rimraf ./dist/ && composer install --optimize-autoloader --prefer-dist --no-dev && npx gulp dist && rimraf ./dist/lightning/_g2/tests/ && rimraf ./dist/lightning/_g3/tests/ && cd dist && zip -r lightning.zip lightning",
"build:script": "webpack --config webpack.g2prod.js && webpack --config webpack.g3prod.js",
"build:text-domain": "gulp text-domain",
"watch:script": "webpack --config webpack.g3dev.js --watch",
"watch:script-g2": "webpack --config webpack.g2dev.js --watch",
"watch:script-g3": "webpack --config webpack.g3dev.js --watch",
"watch:style": "gulp watch",
"composer:install:win": "wp-env run composer \"composer install\"",
"composer:install:mac": "wp-env run composer 'composer install'",
"phpunit": "composer install && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/themes/lightning/phpunit.g3.xml --verbose'",
"phpunit:g2": "composer install && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/themes/lightning/phpunit.g2.xml --verbose'",
"phpunit:root": "composer install && wp-env run phpunit 'phpunit -c /var/www/html/wp-content/themes/lightning/phpunit.root.xml --verbose'",
"phpunit:win": "wp-env run phpunit \"phpunit -c /var/www/html/wp-content/themes/lightning/phpunit.g3.xml --verbose\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/vektor-inc/Lightning.git"
},
"author": "Vektor, Inc.",
"license": "GPL-2.0-only",
"bugs": {
"url": "https://github.com/vektor-inc/Lightning/issues"
},
"homepage": "https://lightning.vektor-inc.co.jp/en/",
"devDependencies": {
"@babel/core": "^7.14.2",
"@babel/preset-env": "^7.14.2",
"@playwright/test": "^1.29.1",
"@wordpress/env": "^5.6.0",
"babel-loader": "^8.3.0",
"grpc": "^1.24.6",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
"gulp-cssmin": "^0.2.0",
"gulp-merge-media-queries": "^0.2.1",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-style-aliases": "^1.1.11",
"npm-check-updates": "^16.3.16",
"rimraf": "^3.0.2",
"run-sequence": "^2.2.1",
"stylelint": "^13.0.0",
"stylelint-config-wordpress": "^17.0.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.7.0",
"webpack-merge": "^5.7.3"
},
"dependencies": {
"bootstrap": "4.6.2",
"is-mobile": "^3.0.0",
"sass": "1.32.12"
},
"volta": {
"node": "18.18.0"
}
}