forked from Automattic/newspack-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.69 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.69 KB
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
{
"name": "@automattic/newspack-blocks",
"version": "1.59.1",
"author": "Automattic",
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@testing-library/dom": "^8.19.0",
"@testing-library/user-event": "^14.4.3",
"@types/lodash": "^4.14.191",
"@types/lodash.debounce": "^4.0.7",
"eslint": "^7.32.0",
"fetch-mock-jest": "^1.5.1",
"html-entities": "^2.3.3",
"identity-obj-proxy": "^3.0.0",
"lint-staged": "^13.1.0",
"newspack-scripts": "^4.3.8",
"postcss-scss": "^4.0.6",
"prettier": "npm:wp-prettier@^2.6.2-beta-1",
"stylelint": "^14.9.1"
},
"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": {
"@stripe/stripe-js": "^1.46.0",
"classnames": "^2.3.2",
"lodash": "^4.17.21",
"newspack-components": "^2.1.0",
"react": "^17.0.2",
"redux": "^4.2.0",
"redux-saga": "^1.2.2",
"regenerator-runtime": "^0.13.11",
"swiper": "8.4.5"
},
"scripts": {
"cm": "newspack-scripts commit",
"semantic-release": "newspack-scripts release --files=newspack-blocks.php",
"build": "newspack-scripts build",
"start": "npm ci && newspack-scripts watch",
"watch": "newspack-scripts watch",
"test": "newspack-scripts test",
"lint": "npm run lint:scss && npm run lint:js",
"lint:js": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:js:staged": "eslint --ext .js,.jsx,.ts,.tsx",
"format:js": "prettier 'src/**/*.{js,jsx,ts,tsx}' --write",
"lint:scss": "stylelint '**/*.scss' --customSyntax postcss-scss --config=./node_modules/newspack-scripts/config/stylelint.config.js",
"format:scss": "prettier --write 'src/**/*.scss'",
"lint:scss:staged": "stylelint --customSyntax postcss-scss --config=./node_modules/newspack-scripts/config/stylelint.config.js",
"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",
"postinstall": "rm -rf node_modules/newspack-scripts/node_modules/prettier"
},
"lint-staged": {
"*.scss": "npm run lint:scss:staged",
"*.js": "npm run lint:js: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"
}
}