sakura/package.json

123 lines
5.0 KiB
JSON

{
"name": "sakura-next",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "yarn bulid:main && yarn build:admin",
"bulid:main": "APP_TARGET=main vite build",
"build:admin": "APP_TARGET=admin vite build",
"build:strict": "vue-tsc --noEmit && vite build",
"serve": "vite preview",
"test": "jest --coverage",
"lint": "eslint \"src/**/*.{ts,js,json,vue}\"",
"format": "eslint \"src/**/*.{ts,js,json,vue}\" --fix && prettier \"src/**/*.{ts,js,json,vue}\" --write",
"format:lint": "eslint \"src/**/*.{ts,js,json,vue}\" --fix",
"format:prettier": "prettier \"src/**/*.{ts,js,json,vue}\" --write",
"i18n:extract": "formatjs extract \"src/**/*.{ts,tsx,vue}\" --out-file src/locales/defaultMessages.json --ignore \"src/**/@types\"",
"i18n:compile": "formatjs compile src/locales/defaultMessages.json --out-file src/locales/default.json",
"i18n": "yarn i18n:extract && yarn i18n:compile",
"git:commit": "git add . && git commit",
"composer": "node scripts/rsync.mjs --composer-install",
"remote-download:geoip2": "node scripts/rsync.mjs --geoip2",
"local-download:geoip2": "mkdir -p app/cache && curl -o app/cache/GeoLite2-City.mmdb https://raw.githubusercontent.com/P3TERX/GeoLite.mmdb/download/GeoLite2-City.mmdb",
"rsync": "nodemon -e '*' --watch ./app --ignore ./app/vendor scripts/rsync.mjs",
"rsync:composer": "nodemon --watch './composer.json' --watch './composer.lock' scripts/rsync.mjs --composer",
"icon": "yarn svgo -f ./src/assets/icons/ui/ && node scripts/import-svg-icons.mjs && eslint \"src/components/icon/**/*.{ts,js,json,vue}\" --fix && prettier \"src/components/icon/**/*.{ts,js,json,vue}\" --write",
"mdc": "node scripts/mdc-upgrade.mjs",
"options": "node scripts/options-export/copy-options.mjs && yarn tsc scripts/options-export/dump-options.ts && node scripts/options-export/dump-options.js && eslint \"src/admin/optionsType.ts\" --fix && prettier \"src/admin/optionsType.ts\" --write"
},
"dependencies": {
"@formatjs/intl": "^1.13.4",
"@material/button": "^13.0.0-canary.b47dd37a6.0",
"@material/card": "^13.0.0-canary.b47dd37a6.0",
"@material/checkbox": "^13.0.0-canary.b47dd37a6.0",
"@material/chips": "^13.0.0-canary.b47dd37a6.0",
"@material/dialog": "^13.0.0-canary.b47dd37a6.0",
"@material/elevation": "^13.0.0-canary.b47dd37a6.0",
"@material/form-field": "^13.0.0-canary.b47dd37a6.0",
"@material/menu": "^13.0.0-canary.b47dd37a6.0",
"@material/radio": "^13.0.0-canary.b47dd37a6.0",
"@material/ripple": "^13.0.0-canary.b47dd37a6.0",
"@material/switch": "^13.0.0-canary.b47dd37a6.0",
"@material/tab-bar": "^13.0.0-canary.b47dd37a6.0",
"@material/textfield": "^13.0.0-canary.b47dd37a6.0",
"@material/theme": "^13.0.0-canary.b47dd37a6.0",
"@material/typography": "^13.0.0-canary.b47dd37a6.0",
"@vueuse/core": "^5.2.0",
"@yzfe/svgicon": "^1.0.1",
"@yzfe/vue3-svgicon": "^1.0.1",
"animate.css": "^4.1.1",
"axios": "^0.21.1",
"camelcase-keys": "^7.0.0",
"chroma-js": "^2.1.2",
"cooltipz-css": "^1.6.8",
"crypto-js": "^4.0.0",
"gsap": "^3.7.0",
"highlight.js": "^11.1.0",
"idb": "^6.1.2",
"lodash": "^4.17.21",
"marked": "^2.1.3",
"normalize.css": "^8.0.1",
"perfect-scrollbar": "^1.5.2",
"snakecase-keys": "^4.0.2",
"swiper": "^6.7.5",
"tippy.js": "^6.3.1",
"uuid": "^8.3.2",
"vue": "^3.1.4",
"vue-intl": "^6.0.6",
"vue-router": "^4.0.10",
"vue-tippy": "^6.0.0-alpha.31"
},
"devDependencies": {
"@amatlash/vite-plugin-stylelint": "^1.1.1",
"@formatjs/cli": "^4.2.27",
"@types/chroma-js": "^2.1.3",
"@types/crypto-js": "^4.0.1",
"@types/jest": "^26.0.24",
"@types/marked": "^2.0.4",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.5",
"@vitejs/plugin-legacy": "^1.4.4",
"@vitejs/plugin-vue": "^1.3.0",
"@vue/compiler-sfc": "^3.1.4",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/test-utils": "^2.0.0-rc.10",
"autoprefixer": "^10.3.1",
"camelcase": "^6.2.0",
"colors": "^1.4.0",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-plugin-file-progress": "^1.1.0",
"eslint-plugin-formatjs": "^2.17.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.13.0",
"flex-gap-polyfill": "^4.0.6",
"jest": "^27.0.6",
"nodemon": "^2.0.12",
"postcss-import": "^14.0.2",
"prettier": "^2.3.2",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.37.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.20.1",
"svgo": "^2.3.1",
"ts-jest": "^27.0.3",
"type-fest": "^1.2.2",
"typescript": "^4.3.5",
"vite": "^2.4.2",
"vite-plugin-svgicon": "^1.0.0-alpha.0",
"vue-jest": "^5.0.0-alpha.10",
"vue-tsc": "^0.2.0",
"wp-types": "^2.10.0"
},
"engines": {
"npm": "please-use-yarn",
"yarn": ">= 1.22.0",
"node": ">= 14.0.0"
}
}