feat: 유닛테스트 준비
This commit is contained in:
+5
-2
@@ -4,7 +4,9 @@
|
||||
"description": "",
|
||||
"main": "js/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "npm-run-all test-php-gateway test-ts",
|
||||
"test-php-gateway": "vendor/bin/phpunit --bootstrap vendor/autoload.php tests",
|
||||
"test-ts": "node --loader ts-node/esm ./node_modules/.bin/mocha hwe/test-ts/**/*.test.ts",
|
||||
"build": "webpack",
|
||||
"buildDev": "webpack --mode=development",
|
||||
"watch": "webpack watch --mode=development",
|
||||
@@ -84,6 +86,7 @@
|
||||
"file-loader": "^6.2.0",
|
||||
"mini-css-extract-plugin": "^2.5.3",
|
||||
"mocha": "^9.2.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-discard-duplicates": "^5.0.3",
|
||||
"postcss-import": "^14.0.2",
|
||||
"postcss-loader": "^6.2.1",
|
||||
@@ -91,7 +94,7 @@
|
||||
"sass": "^1.49.8",
|
||||
"sass-loader": "^12.6.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-node": "^10.5.0",
|
||||
"ts-node": "^10.6.0",
|
||||
"typescript": "^4.5.5",
|
||||
"url-loader": "^4.1.1",
|
||||
"vue-eslint-parser": "^8.2.0",
|
||||
|
||||
Reference in New Issue
Block a user