This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
forked from GSA/fedramp-automation
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
85 lines (85 loc) · 6.1 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
{
"type": "module",
"scripts": {
"build": "mkdirp build && run-s build:cli build:schematron 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:build/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:build/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:build/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:build/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:build/oscal_poam_json-to-xml-converter.sef.json -relocate:on -nogo",
"build:json:sef:poam.sch": "xslt3 -xsl:build/poam.xsl -export:build/poam.sef.json -relocate:on -nogo",
"build:json:sef:sap.sch": "xslt3 -xsl:build/sap.xsl -export:build/sap.sef.json -relocate:on -nogo",
"build:json:sef:sar.sch": "xslt3 -xsl:build/sar.xsl -export:build/sar.sef.json -relocate:on -nogo",
"build:json:sef:ssp.sch": "xslt3 -xsl:build/ssp.xsl -export:build/ssp.sef.json -relocate:on -nogo",
"build:schematron": "run-s build:schematron:*",
"build:schematron:poam": "run-s build:schematron:poam:*",
"build:schematron:poam:stage-1": "xslt3 -s:../validations/rules/poam.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_dsdl_include.xsl -o:build/poam-stage1.sch allow-foreign=true diagnose=true",
"build:schematron:poam:stage-2": "xslt3 -s:build/poam-stage1.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_abstract_expand.xsl -o:build/poam-stage2.sch allow-foreign=true diagnose=true",
"build:schematron:poam:stage-3": "xslt3 -s:build/poam-stage2.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_svrl_for_xslt2.xsl -o:build/poam.xsl allow-foreign=true diagnose=true",
"build:schematron:sap": "run-s build:schematron:sap:*",
"build:schematron:sap:stage-1": "xslt3 -s:../validations/rules/sap.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_dsdl_include.xsl -o:build/sap-stage1.sch allow-foreign=true diagnose=true",
"build:schematron:sap:stage-2": "xslt3 -s:build/sap-stage1.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_abstract_expand.xsl -o:build/sap-stage2.sch allow-foreign=true diagnose=true",
"build:schematron:sap:stage-3": "xslt3 -s:build/sap-stage2.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_svrl_for_xslt2.xsl -o:build/sap.xsl allow-foreign=true diagnose=true",
"build:schematron:sar": "run-s build:schematron:sar:*",
"build:schematron:sar:stage-1": "xslt3 -s:../validations/rules/sar.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_dsdl_include.xsl -o:build/sar-stage1.sch allow-foreign=true diagnose=true",
"build:schematron:sar:stage-2": "xslt3 -s:build/sar-stage1.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_abstract_expand.xsl -o:build/sar-stage2.sch allow-foreign=true diagnose=true",
"build:schematron:sar:stage-3": "xslt3 -s:build/sar-stage2.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_svrl_for_xslt2.xsl -o:build/sar.xsl allow-foreign=true diagnose=true",
"build:schematron:ssp": "run-s build:schematron:ssp:*",
"build:schematron:ssp:stage-1": "xslt3 -s:../validations/rules/ssp.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_dsdl_include.xsl -o:build/ssp-stage1.sch allow-foreign=true diagnose=true",
"build:schematron:ssp:stage-2": "xslt3 -s:build/ssp-stage1.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_abstract_expand.xsl -o:build/ssp-stage2.sch allow-foreign=true diagnose=true",
"build:schematron:ssp:stage-3": "xslt3 -s:build/ssp-stage2.sch -xsl:../../vendor/schematron/trunk/schematron/code/iso_svrl_for_xslt2.xsl -o:build/ssp.xsl allow-foreign=true diagnose=true",
"build:schematron:summary": "xslt3 -s:../validations/rules/rules.xsl -xsl:../validations/rules/rules.xsl -o:build/rules.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.1",
"commander": "^9.3.0",
"highlight.js": "^11.5.1",
"path-to-regexp": "^6.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-modal": "^3.15.1",
"reselect": "^4.1.6",
"saxon-js": "^2.3.0",
"uswds": "^2.13.0",
"xml-formatter": "^2.6.1",
"yaml": "^2.1.3"
},
"devDependencies": {
"@types/node": "^17.0.40",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.3",
"@types/react-modal": "^3.13.1",
"@vitejs/plugin-react": "^1.3.2",
"autoprefixer": "^10.2.5",
"concurrently": "^7.2.1",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"sass": "1.52.2",
"tsup": "^6.1.2",
"typescript": "^4.7.2",
"vite": "^2.9.13",
"vite-tsconfig-paths": "^3.5.0",
"vitest": "^0.14.2",
"vitest-mock-extended": "^0.1.4",
"xslt3": "^2.3.0"
}
}