-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
47 lines (47 loc) · 1.79 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": "newspack-network",
"version": "2.4.0",
"description": "The Newspack Network plugin.",
"license": "GPL-3.0",
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"cm": "git-cz",
"semantic-release": "newspack-scripts release --files=newspack-network.php",
"clean": "rm -rf dist",
"start": "npm ci --legacy-peer-deps && npm run watch",
"build": "npm run clean && newspack-scripts wp-scripts build",
"watch": "npm run clean && newspack-scripts wp-scripts start",
"test": "echo 'No JS unit tests in this repository.'",
"lint": "npm run lint:scss && npm run lint:js",
"lint:js": "echo 'No JS files in this repository.'",
"lint:js:staged": "echo 'No JS files in this repository.'",
"format:js": "echo 'No JS files in this repository.'",
"lint:scss": "echo 'No SCSS files in this repository.'",
"lint:scss:staged": "echo 'No SCSS files in this repository.'",
"format:scss": "echo 'No SCSS files in this repository.'",
"typescript:check": "echo 'No TypeScript files in this repository.'",
"lint:php": "./vendor/bin/phpcs .",
"format:php": "./vendor/bin/phpcbf .",
"lint:php:staged": "./vendor/bin/phpcs",
"release": "npm run semantic-release",
"release:archive": "rm -rf release && mkdir -p release && rsync -r . ./release/newspack-network --exclude-from='./.distignore' && cd release && zip -r newspack-network.zip newspack-network"
},
"lint-staged": {
"*.php": "npm run lint:php:staged"
},
"devDependencies": {
"lint-staged": "^15.2.0",
"newspack-scripts": "^5.5.2",
"postcss-scss": "^4.0.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/newspack-network.git"
},
"bugs": {
"url": "https://github.com/Automattic/newspack-network/issues"
},
"homepage": "https://github.com/Automattic/newspack-network#readme"
}