forked from SalesforceLabs/LightningWebChartJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.57 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
{
"name": "lwcc",
"private": true,
"version": "1.6.0",
"description": "Lightning Web Chart.js Component",
"scripts": {
"lint": "npm run lint:lwc && npm run lint:apex",
"lint:lwc": "eslint force-app/main/default/lwc && eslint force-app/sample/default/lwc",
"lint:apex": "pmd pmd -minimumpriority 2 -d force-app -R apex-ruleset.xml -f text -l apex",
"test": "npm run test:unit && npm run test:apex",
"test:clear:cache": "sfdx-lwc-jest -- --clearCache",
"test:coverage": "npm run test:unit:coverage && npm run test:apex:coverage",
"test:apex": "sfdx force:apex:test:run -r tap -d ./tests/apex -s lwcc -w 20",
"test:apex:coverage": "sfdx force:apex:test:run -r tap -d ./tests/apex -s lwcc -w 20 -c",
"test:unit": "sfdx-lwc-jest -- --runInBand",
"test:unit:watch": "sfdx-lwc-jest --watch -- --runInBand",
"test:unit:debug": "sfdx-lwc-jest --debug -- --runInBand",
"test:unit:coverage": "sfdx-lwc-jest --coverage -- --runInBand",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"build:playground": "rollup --config ./rollup/rollup.config.js",
"pre-commit": "lint-staged && npm run lint",
"pre-push": "npm run test:coverage",
"prepare": "husky install",
"release": "standard-version",
"postrelease": "npm run release:tags && npm run release:github",
"release:github": "conventional-github-releaser -p angular",
"release:tags": "git push --follow-tags origin master"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-angular": "^12.1.1",
"@lwc/engine": "^1.17.5",
"@lwc/rollup-plugin": "^1.17.5",
"@lwc/synthetic-shadow": "^1.17.5",
"@lwc/wire-service": "^1.17.5",
"@prettier/plugin-xml": "^0.13.1",
"@rollup/plugin-replace": "^2.4.1",
"@salesforce/eslint-config-lwc": "^0.11.0",
"@salesforce/sfdx-lwc-jest": "^0.10.4",
"conventional-github-releaser": "^3.1.5",
"eslint": "^7.22.0",
"husky": "^5.2.0",
"jest-canvas-mock": "^2.3.1",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"prettier-plugin-apex": "^1.8.0",
"rollup": "^2.42.1",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-copy": "^3.4.0",
"standard-version": "^9.2.0"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}": [
"prettier --write"
],
"**/lwc/**": [
"eslint"
]
}
}