-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 4.75 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
{
"name": "gps-design-systems-lwc",
"private": false,
"version": "1.0.0",
"description": "LWC implementations of a collection of Public Sector Design Systems",
"scripts": {
"lint": "eslint **/{aura,lwc}/**",
"test": "npm run test:unit",
"test:unit": "sfdx-lwc-jest --skipApiVersionCheck --verbose",
"test:unit:watch": "sfdx-lwc-jest --watch --skipApiVersionCheck",
"test:unit:debug": "sfdx-lwc-jest --debug --skipApiVersionCheck",
"test:unit:coverage": "sfdx-lwc-jest --coverage --skipApiVersionCheck",
"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}\"",
"postinstall": "husky install",
"precommit": "lint-staged",
"basegen": "node basegen.js",
"osfilegen": "node osfilegen.js",
"cssgen": "node cssgen.js",
"prep-nsw": "mkdir -p sfGpsDsAuNswFull",
"prep-nsws": "mkdir -p sfGpsDsAuNswSFull",
"prep-vic": "cp sfGpsDsAuVic/scss/_corecolor.override.scss node_modules/@dpc-sdp/ripple-global/scss/settings/_colorcore.scss;mkdir -p sfGpsDsAuVic1Full",
"prep-vic2": "cp -a node_modules/@dpc-sdp/ripple-ui-core/dist/assets/fonts sfGpsDsAuVic2/main/default/staticresources/sfGpsDsAuVic2/assets;cp -a node_modules/@dpc-sdp/ripple-ui-core/src/assets/flags sfGpsDsAuVic2/main/default/staticresources/sfGpsDsAuVic2/assets;cp -a node_modules/@dpc-sdp/ripple-ui-core/src/assets/logos sfGpsDsAuVic2/main/default/staticresources/sfGpsDsAuVic2/assets;cp -a node_modules/@dpc-sdp/ripple-ui-core/src/assets/patterns sfGpsDsAuVic2/main/default/staticresources/sfGpsDsAuVic2/assets;sed s#url\\(/assets#url\\(./assets#g node_modules/@dpc-sdp/ripple-ui-core/dist/global.css >sfGpsDsAuVic2/main/default/staticresources/sfGpsDsAuVic2/global.css;cp node_modules/@dpc-sdp/ripple-ui-core/dist/style.css sfGpsDsAuVic2/main/default/staticresources/sfGpsDsAuVic2;mkdir -p sfGpsDsAuVic2Full",
"prep-frgov": "mkdir -p sfGpsDsFrGovFull",
"prep-ukgov": "mkdir -p sfGpsDsUkGovFull",
"prep": "npm run prep-nsw; npm run prep-nsws; npm run prep-vic; npm run prep-vic2; npm run prep-frgov; npm run prep-ukgov",
"aunsw-copy": "rm -rf sfGpsDsAuNswFull;mkdir -p sfGpsDsAuNswFull;cp -a sfGpsDs/. sfGpsDsAuNswFull;cp -a sfGpsDsAuNsw/. sfGpsDsAuNswFull",
"aunsws-copy": "rm -rf sfGpsDsAuNswSFull;mkdir -p sfGpsDsAuNswSFull;cp -a sfGpsDs/. sfGpsDsAuNswSFull;cp -a sfGpsDsAuNswS/. sfGpsDsAuNswSFull",
"auvic1-copy": "rm -rf sfGpsDsAuVic1Full;mkdir -p sfGpsDsAuVic1Full;cp -a sfGpsDs/. sfGpsDsAuVic1Full;cp -a sfGpsDsAuVic/. sfGpsDsAuVic1Full",
"auvic2-copy": "rm -rf sfGpsDsAuVic2Full;mkdir -p sfGpsDsAuVic2Full;cp -a sfGpsDs/. sfGpsDsAuVic2Full;cp -a sfGpsDsAuVic/. sfGpsDsAuVic2Full",
"frgov-copy": "rm -rf sfGpsDsFrGovFull;mkdir -p sfGpsDsFrGovFull;cp -a sfGpsDs/. sfGpsDsFrGovFull;cp -a sfGpsDsFrGov/. sfGpsDsFrGovFull",
"ukgov-copy": "rm -rf sfGpsDsUkGovFull;mkdir -p sfGpsDsUkGovFull;cp -a sfGpsDs/. sfGpsDsUkGovFull;cp -a sfGpsDsUkGov/. sfGpsDsUkGovFull",
"synclabs": "set SDIR=../gps-design-systems-lwc;set TDIR=../gps-design-systems-lwcx;rm -rf $TDIR;cp -a . $TDIR;cp -a $SDIR/.git $TDIR;rm -rf $TDIR/.github"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{aura,lwc}/**": [
"eslint"
],
"**/lwc/**": [
"sfdx-lwc-jest --skipApiVersionCheck -- --bail --findRelatedTests --passWithNoTests"
]
},
"author": "Emmanuel Schweitzer at salesforce.com",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/eschweitzer78/gps-design-systems-lwc"
},
"devDependencies": {
"@dpc-sdp/ripple-global": "https://registry.npmjs.org/@dpc-sdp/ripple-global/-/ripple-global-1.38.3.tgz",
"@dpc-sdp/ripple-ui-core": "2.7.1",
"@dpc-sdp/ripple-ui-forms": "^2.8.2",
"@gouvfr/dsfr": "^1.11.0",
"@lwc/eslint-plugin-lwc": "^1.0.1",
"@prettier/plugin-xml": "^3.0.0",
"@sa11y/jest": "^3.1.0",
"@salesforce/eslint-config-lwc": "^2.0.0",
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@salesforce/eslint-plugin-lightning": "^0.1.1",
"@salesforce/sfdx-lwc-jest": "^1.4.1",
"eslint": "^7.29.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"govuk-frontend": "^4.7.0",
"husky": "^7.0.0",
"lint-staged": "^11.0.0",
"nsw-design-system": "^3.13.0",
"postcss": "^8.4.38",
"postcss-custom-media": "^10.0.4",
"prettier": "^3.1.1",
"prettier-plugin-apex": "^2.0.1",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.59.3"
},
"devDependencies2": {
"puppeteer": "^19.3.0"
},
"engines": {
"node": "18.16.1"
},
"volta": {
"node": "18.16.1"
}
}