Feature/unit tests (#184)

This commit is contained in:
Daniel Lautzenheiser
2022-12-04 22:15:59 -05:00
committed by GitHub
parent 255e4d8883
commit ec46a6f760
23 changed files with 1423 additions and 115 deletions

View File

@ -24,6 +24,7 @@
"lint": "run-p -c --aggregate-output \"lint:*\"",
"prepublishOnly": "yarn build",
"start": "run-s clean develop",
"test": "cross-env NODE_ENV=test jest",
"type-check": "tsc --watch"
},
"main": "dist/static-cms-core.js",
@ -41,12 +42,22 @@
"last 2 Safari versions"
],
"dependencies": {
"@babel/runtime": "7.20.6",
"@codemirror/autocomplete": "6.3.4",
"@codemirror/commands": "6.1.2",
"@codemirror/language": "6.3.1",
"@codemirror/language-data": "6.1.0",
"@codemirror/legacy-modes": "6.3.1",
"@codemirror/lint": "6.1.0",
"@codemirror/search": "6.2.3",
"@codemirror/state": "6.1.4",
"@codemirror/theme-one-dark": "6.1.0",
"@codemirror/view": "6.6.0",
"@emotion/babel-preset-css-prop": "11.10.0",
"@emotion/css": "11.10.5",
"@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5",
"@lezer/common": "1.0.2",
"@ltd/j-toml": "1.35.3",
"@mdx-js/mdx": "2.1.5",
"@mdx-js/react": "2.1.5",
@ -120,6 +131,7 @@
"remark-mdx": "2.1.5",
"remark-parse": "10.0.1",
"sanitize-filename": "1.6.3",
"scheduler": "0.23.0",
"semaphore": "1.1.0",
"slate": "0.87.0",
"slate-history": "0.86.0",
@ -217,11 +229,11 @@
"gitlab": "14.2.2",
"http-server": "14.1.1",
"jest": "29.3.1",
"jest-environment-jsdom": "^29.3.1",
"js-yaml": "4.1.0",
"mockserver-client": "5.14.0",
"mockserver-node": "5.14.0",
"ncp": "2.0.0",
"nock": "13.2.9",
"node-fetch": "2.6.7",
"npm-run-all": "4.1.5",
"postcss": "8.4.19",
@ -235,6 +247,7 @@
"source-map-loader": "4.0.1",
"style-loader": "3.3.1",
"to-string-loader": "1.2.0",
"ts-jest": "29.0.3",
"tsconfig-paths-webpack-plugin": "4.0.0",
"typescript": "4.9.3",
"webpack": "5.75.0",