-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
68 lines (68 loc) · 2.73 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
{
"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 && node copy-files.js && 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 --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g3.xml --testdox",
"phpunit:g2": "composer install && wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g2.xml --testdox",
"phpunit:root": "composer install && wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.root.xml --testdox",
"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.24.5",
"@babel/preset-env": "^7.24.5",
"@playwright/test": "^1.44.0",
"@wordpress/env": "^9.10.0",
"babel-loader": "^9.1.3",
"gulp": "^5.0.0",
"gulp-autoprefixer": "^9.0.0",
"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.4",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-style-aliases": "^1.1.11",
"rimraf": "^5.0.7",
"run-sequence": "^2.2.1",
"sass": "^1.77.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.10.0"
},
"volta": {
"node": "20.13.1"
},
"dependencies": {
"bootstrap": "^4.6.2",
"fs-extra": "^11.2.0",
"glob": "^10.3.15",
"is-mobile": "^4.0.0"
}
}