-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpackage.json
69 lines (69 loc) · 3.03 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
{
"name": "@automattic/newspack-blocks",
"version": "4.5.6",
"author": "Automattic",
"devDependencies": {
"@rushstack/eslint-patch": "^1.10.5",
"@testing-library/dom": "^10.4.0",
"@testing-library/user-event": "^14.6.0",
"@types/lodash": "^4.17.14",
"@wordpress/browserslist-config": "^6.16.0",
"eslint": "^8.57.0",
"fetch-mock-jest": "^1.5.1",
"html-entities": "^2.5.2",
"identity-obj-proxy": "^3.0.0",
"lint-staged": "^15.4.1",
"newspack-components": "^3.1.0",
"newspack-scripts": "^5.5.2",
"postcss-scss": "^4.0.9"
},
"description": "=== Newspack Blocks === Contributors: (this should be a list of wordpress.org userid's) Donate link: https://example.com/ Tags: comments, spam Requires at least: 4.5 Tested up to: 5.1.1 Stable tag: 0.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html",
"dependencies": {
"classnames": "^2.5.1",
"redux": "^5.0.0",
"redux-saga": "^1.3.0",
"regenerator-runtime": "^0.14.1",
"swiper": "11.2.1"
},
"scripts": {
"cm": "newspack-scripts commit",
"semantic-release": "newspack-scripts release --files=newspack-blocks.php",
"clean": "rm -rf dist",
"build": "npm run clean && newspack-scripts wp-scripts build",
"start": "npm ci --legacy-peer-deps && npm run watch",
"watch": "npm run clean && newspack-scripts wp-scripts start",
"test": "newspack-scripts test",
"lint": "npm run lint:scss && npm run lint:js",
"lint:js": "newspack-scripts wp-scripts lint-js '**/{src,includes}/**/*.{js,jsx,ts,tsx}'",
"lint:js:staged": "newspack-scripts wp-scripts lint-js --ext .js,.jsx,.ts,.tsx",
"fix:js": "newspack-scripts wp-scripts lint-js --fix '**/{src,includes}/**/*.{js,jsx,ts,tsx}'",
"format:js": "newspack-scripts wp-scripts format '**/{src,includes}/**/*.{js,jsx,ts,tsx}'",
"lint:php": "./vendor/bin/phpcs",
"lint:php:staged": "./vendor/bin/phpcs --filter=GitStaged",
"fix:php": "./vendor/bin/phpcbf",
"lint:scss": "newspack-scripts wp-scripts lint-style '**/{src,includes}/**/*.scss' --customSyntax postcss-scss",
"lint:scss:staged": "newspack-scripts wp-scripts lint-style --customSyntax postcss-scss",
"format:scss": "newspack-scripts wp-scripts lint-style '**/{src,includes}/**/*.scss' --customSyntax postcss-scss --fix",
"i18n": "NODE_ENV=production npm run build; bash ./bin/update-translations.sh",
"typescript:check": "newspack-scripts typescript-check",
"release": "npm run build && npm run semantic-release",
"release:archive": "rm -rf release && mkdir -p release && rsync -r . ./release/newspack-blocks --exclude-from='./.distignore' && cd release && zip -r newspack-blocks.zip newspack-blocks"
},
"lint-staged": {
"*.scss": "npm run lint:scss:staged",
"*.(js|jsx)": "npm run lint:js:staged",
"*.(ts|tsx)": "npm run typescript:check",
"*.php": "npm run lint:php:staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Automattic/newspack-blocks.git"
},
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/Automattic/newspack-blocks/issues"
},
"overrides": {
"path-to-regexp": "1.7.0"
}
}