-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathpackage.json
67 lines (67 loc) · 3.38 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
{
"type": "module",
"scripts": {
"build": "mkdirp public/rules && run-s build:cli build:schematron build:schematron:summary:* build:json build:typecheck build:vite",
"build:cli": "tsup --format cjs --out-dir ./bin ./src/cli/index.ts",
"build:json": "run-p build:json:sef:* && run-p build:json:cli:*",
"build:json:cli:assertion-views": "node bin/index.cjs create-assertion-view",
"build:json:cli:schematron-summaries": "node bin/index.cjs generate-schematron-summaries",
"build:json:cli:xspec-summaries": "node bin/index.cjs create-xspec-summaries",
"build:json:sef:assertion-grouping": "xslt3 -xsl:../validations/rules/assertion-grouping.xsl -export:public/rules/assertion-grouping.sef.json -relocate:on -nogo",
"build:json:sef:ssp-json-to-xml": "xslt3 -xsl:../../vendor/oscal/xml/convert/oscal_ssp_json-to-xml-converter.xsl -export:public/rules/oscal_ssp_json-to-xml-converter.sef.json -relocate:on -nogo",
"build:json:sef:sap-json-to-xml": "xslt3 -xsl:../../vendor/oscal/xml/convert/oscal_assessment-plan_json-to-xml-converter.xsl -export:public/rules/oscal_assessment-plan_json-to-xml-converter.sef.json -relocate:on -nogo",
"build:json:sef:sar-json-to-xml": "xslt3 -xsl:../../vendor/oscal/xml/convert/oscal_assessment-results_json-to-xml-converter.xsl -export:public/rules/oscal_assessment-results_json-to-xml-converter.sef.json -relocate:on -nogo",
"build:json:sef:poam-json-to-xml": "xslt3 -xsl:../../vendor/oscal/xml/convert/oscal_poam_json-to-xml-converter.xsl -export:public/rules/oscal_poam_json-to-xml-converter.sef.json -relocate:on -nogo",
"build:schematron": "node bin/index.cjs compile-schematron",
"build:schematron:summary:rev4": "xslt3 -s:../validations/rules/rev4/rules.xsl -xsl:../validations/rules/rev4/rules.xsl -o:public/rules/rules-rev4.html",
"build:schematron:summary:rev5": "xslt3 -s:../validations/rules/rev5/rules.xsl -xsl:../validations/rules/rev5/rules.xsl -o:public/rules/rules-rev5.html",
"build:typecheck": "tsc --noEmit",
"build:vite": "vite build",
"cli": "node bin/index.cjs",
"clean": "rm -rf build coverage",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
"preview": "vite preview",
"start": "run-p start:*",
"start:typecheck": "tsc --noEmit --watch",
"start:vite": "vite",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest --coverage && open ./coverage/lcov-report/index.html"
},
"dependencies": {
"classnames": "^2.3.2",
"commander": "^9.4.1",
"highlight.js": "^11.7.0",
"path-to-regexp": "^6.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-modal": "^3.16.1",
"reselect": "^4.1.7",
"saxon-js": "2.4.0",
"uswds": "^2.13.0",
"xml-formatter": "^2.6.1",
"yaml": "^2.3.4"
},
"devDependencies": {
"@types/node": "^18.11.15",
"@types/react": "^17.0.52",
"@types/react-dom": "^17.0.18",
"@types/react-modal": "^3.13.1",
"@vitejs/plugin-react": "^2.2.0",
"autoprefixer": "^10.4.13",
"c8": "^7.12.0",
"concurrently": "^7.6.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.1",
"sass": "^1.56.2",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"vite": "^3.2.7",
"vite-tsconfig-paths": "^4.0.3",
"vitest": "^0.25.8",
"vitest-mock-extended": "^1.0.7",
"xslt3": "^2.5.0"
}
}