diff --git a/README.md b/README.md index f6a4b9a..0aaf255 100644 --- a/README.md +++ b/README.md @@ -31,30 +31,30 @@ This projects utilizes `storybook` to develop frontend components and `vuepress` The following commands are available: -| Command | Description | -|----------------------------|-------------------------------------------------| -| `npm install` | Project setup | -| `npm run build` | Compiles and minifies for production | -| `npm run server:prod` | Runs productions server | -| **Develop** | | -| `npm run dev` | Compiles and hot-reloads for development | -| `npm run server:dev` | Run development server | -| **Test** | | -| `npm run test:lint` | Run all linters | -| `npm run test:lint:eslint` | Run linter eslint | -| `npm run test:lint:locales`| Run linter locales | -| `npm run test:lint:remark` | Run linter remark | -| `npm run test:lint:style` | Run linter stylelint | -| `npm run test:unit` | Run all unit tests and generate coverage report | -| `npm run test:unit:dev` | Run all unit tests in watch mode | -| `npm test` | Run all tests & linters | -| **Storybook** | | -| `npm run storybook` | Run Storybook | -| `npm run storybook:build` | Build static storybook | -| `npm run storybook:test` | Run tests against all storybook stories | -| **Documentation** | | -| `npm run docs:dev` | Run Documentation in development mode | -| `npm run docs:build` | Build static documentation | +| Command | Description | +|-----------------------------|-------------------------------------------------| +| `npm install` | Project setup | +| `npm run build` | Compiles and minifies for production | +| `npm run server:prod` | Runs productions server | +| **Develop** | | +| `npm run dev` | Compiles and hot-reloads for development | +| `npm run server:dev` | Run development server | +| **Test** | | +| `npm run test:lint` | Run all linters | +| `npm run test:lint:eslint` | Run linter eslint | +| `npm run test:lint:locales` | Run linter locales | +| `npm run test:lint:remark` | Run linter remark | +| `npm run test:lint:style` | Run linter stylelint | +| `npm run test:unit` | Run all unit tests and generate coverage report | +| `npm run test:unit:dev` | Run all unit tests in watch mode | +| `npm test` | Run all tests & linters | +| **Storybook** | | +| `npm run storybook` | Run Storybook | +| `npm run storybook:build` | Build static storybook | +| `npm run storybook:test` | Run tests against all storybook stories | +| **Documentation** | | +| `npm run docs:dev` | Run Documentation in development mode | +| `npm run docs:build` | Build static documentation | ### Docker diff --git a/package.json b/package.json index 92ffafd..6aa994a 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,9 @@ "storybook": "storybook dev -p 6006", "storybook:build": "storybook build -o build/storybook", "storybook:test": "test-storybook", - "test:lint": "npm run test:lint:eslint && npm run test:lint:remark && npm run test:lint:style", + "test:lint": "npm run test:lint:eslint && npm run test:lint:remark && npm run test:lint:style && npm run test:lint:locales", "test:lint:eslint": "eslint --ext .vue,.ts,.tsx,.js,.jsx,.json,.yml,.yaml --max-warnings 0 --ignore-path .gitignore .", + "test:lint:locales": "scripts/locales/locales.sh src/locales", "test:lint:remark": "remark . --quiet --frail", "test:lint:style": "stylelint --max-warnings 0 --ignore-path .gitignore \"**/*.{css,scss,vue,vuex}\"", "test:unit": "npm run test:unit:dev -- run --coverage", diff --git a/tsconfig.json b/tsconfig.json index 75cea91..59b5d5e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "lib": ["DOM", "DOM.Iterable", "ESNext"], "types": ["vite/client"], "skipLibCheck": true, - "esModuleInterop": true + "esModuleInterop": true, + "resolveJsonModule": true }, "ts-node": { "transpileOnly": true,