forked from plonegovbr/volto-code-block
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.98 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@plonegovbr/volto-code-block",
"version": "1.0.0",
"description": "Volto add-on providing a code block with syntax highlighting.",
"author": "PloneGov-BR",
"homepage": "https://github.com/plonegovbr/volto-code-block",
"main": "src/index.js",
"license": "MIT",
"keywords": [
"volto-addon",
"volto",
"plone",
"react"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"ci:test-acceptance-server": "make test-acceptance-server",
"cy:test:fixture:setup": "node cypress/support/reset-fixture.js",
"cy:test:fixture:teardown": "node cypress/support/reset-fixture.js teardown",
"cypress:open": "NODE_ENV=production ../../../node_modules/cypress/bin/cypress open",
"cypress:run": "NODE_ENV=test ../../../node_modules/cypress/bin/cypress run",
"cypress:start-frontend": "cd ../../../ && RAZZLE_API_PATH=http://localhost:55001/plone yarn start",
"dry-release": "release-it --dry-run",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
"prettier:fix": "./node_modules/.bin/prettier --single-quote --write 'src/**/*.{js,jsx,json,css,less,md}'",
"prettier": "./node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,json,css,less,md}'",
"release-alpha": "release-it --preRelease=alpha",
"release-major-alpha": "release-it major --preRelease=alpha",
"release": "release-it",
"stylelint:fix": "yarn stylelint --fix && yarn stylelint:overrides --fix",
"stylelint:overrides": "./node_modules/.bin/stylelint --syntax less --allow-empty-input 'theme/**/*.overrides' 'src/**/*.overrides'",
"stylelint": "./node_modules/stylelint/bin/stylelint.js --allow-empty-input 'src/**/*.{css,less}'"
},
"peerDependencies": {
"@plone/volto": ">=15.12.0"
},
"dependencies": {
"@plone/scripts": "*",
"react-syntax-highlighter": "^15.5.0",
"use-copy": "^0.0.2"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"prettier": "2.0.5",
"release-it": "*",
"stylelint": "13.3.3",
"stylelint-config-idiomatic-order": "8.1.0",
"stylelint-config-prettier": "8.0.1",
"stylelint-prettier": "1.1.2"
},
"repository": {
"type": "git",
"url": "[email protected]:plonegovbr/volto-code-block.git"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"overrides": [
{
"files": "*.overrides",
"options": {
"parser": "less"
}
}
]
},
"stylelint": {
"extends": [
"stylelint-config-idiomatic-order"
],
"plugins": [
"stylelint-prettier"
],
"rules": {
"prettier/prettier": true,
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
]
},
"ignoreFiles": "theme/themes/default/**/*.overrides"
}
}