forked from Automattic/newspack-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.47 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
{
"name": "newspack",
"version": "1.75.1",
"description": "A theme for Newspack. https://newspack.blog",
"bugs": {
"url": "https://github.com/Automattic/newspack-theme/issues"
},
"homepage": "https://github.com/WordPress/newspack#readme",
"browserslist": [
"extends @wordpress/browserslist-config"
],
"lint-staged": {
"*.scss": "npm run lint:scss:staged",
"*.js": "npm run lint:js:staged"
},
"scripts": {
"cm": "newspack-scripts commit",
"semantic-release": "semantic-release",
"start": "npm ci && newspack-scripts watch",
"build:js": "webpack",
"build:scss": "node scripts/compile-scss.js",
"build": "run-p \"build:*\"",
"watch:js": "webpack --watch",
"watch:scss": "node scripts/compile-scss.js --watch",
"watch": "run-p \"watch:*\"",
"lint": "npm run lint:scss && npm run lint:js",
"lint:js": "eslint ./newspack-*/**/*.js",
"lint:js:staged": "eslint --ext .js,.jsx",
"lint:scss": "stylelint '**/*.scss' --customSyntax postcss-scss --config=./node_modules/newspack-scripts/config/stylelint.config.js",
"lint:scss:staged": "stylelint --customSyntax postcss-scss --config=./node_modules/newspack-scripts/config/stylelint.config.js",
"format:js": "prettier './newspack-*/**/*.{js,jsx}' --write",
"format:scss": "prettier --write \"**/*.scss\"",
"release:archive": "mkdir -p release && zip -r release/newspack-theme.zip newspack-theme -x .DS_Store && zip -r release/newspack-sacha.zip newspack-sacha -x .DS_Store && zip -r release/newspack-scott.zip newspack-scott -x .DS_Store && zip -r release/newspack-nelson.zip newspack-nelson -x .DS_Store && zip -r release/newspack-katharine.zip newspack-katharine -x .DS_Store && zip -r release/newspack-joseph.zip newspack-joseph -x .DS_Store",
"release": "npm run build && npm run semantic-release"
},
"devDependencies": {
"@octokit/rest": "^19.0.13",
"@rushstack/eslint-patch": "^1.3.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@wordpress/browserslist-config": "^5.19.0",
"chokidar-cli": "^3.0.0",
"classnames": "^2.3.2",
"eslint": "^7.32.0",
"fs-extra": "^11.1.1",
"lint-staged": "^13.2.2",
"newspack-scripts": "^5.1.0",
"npm-run-all": "^4.1.5",
"postcss-scss": "^4.0.6",
"prettier": "npm:wp-prettier@^2.6.2-beta-1",
"rtlcss": "^4.1.0",
"sass": "^1.63.6",
"semantic-release": "^19.0.5",
"semantic-release-version-bump": "^1.4.1",
"stylelint": "^15.10.1"
}
}