@ohu-mobile/core
Version:
123 lines • 4.26 kB
JSON
{
"name": "@ohu-mobile/core",
"version": "0.19.0",
"description": "Mobile UI Toolkit",
"keywords": [
"ohu-mobile",
"mobile-ui",
"toolkit",
"vue"
],
"author": "jeffwcx <jeffwcx@icloud.com>",
"homepage": "https://github.com/jeffwcx/ohu-mobile/tree/master/packages/ohu-mobile#readme",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "lib/index.d.ts",
"publishConfig": {
"access": "public"
},
"files": [
"es",
"lib",
"lib-rem",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jeffwcx/ohu-mobile.git",
"directory": "packages/ohu-mobile"
},
"bugs": {
"url": "https://github.com/jeffwcx/ohu-mobile/issues"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-optional-chaining": "^7.23.4",
"@babel/preset-env": "^7.23.9",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/node-lts": "^20.1.1",
"@types/babel__core": "^7.20.5",
"@types/fs-extra": "^8.1.5",
"@types/glob": "^8.1.0",
"@types/markdown-it": "^13.0.7",
"@types/node": "^20.11.20",
"@types/postcss-pxtorem": "^6.0.3",
"@types/yargs": "^17.0.32",
"@vitejs/plugin-vue2": "^2.3.1",
"@vitejs/plugin-vue2-jsx": "^1.1.1",
"@vue/babel-preset-jsx": "^1.4.0",
"@vue/test-utils": "^1.3.6",
"ajv": "^8.12.0",
"autoprefixer": "^10.4.17",
"babel-plugin-import": "^1.13.8",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
"highlight.js": "^11.9.0",
"jsdom": "^24.0.0",
"markdown-it": "^14.0.0",
"ora": "^8.0.1",
"post-style": "^1.1.0",
"postcss": "^8.4.35",
"postcss-pxtorem": "^6.1.0",
"resolve": "^1.22.8",
"rollup": "^4.12.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-sass": "^1.12.21",
"sass": "^1.71.1",
"ts-node": "^10.9.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"vue": "^2.7.16",
"vue-router": "^3.6.5",
"vue-template-compiler": "^2.7.16",
"yargs": "^17.7.2",
"@ohu/cli": "0.3.0"
},
"peerDependencies": {
"vue": "^2"
},
"dependencies": {
"@types/raf": "^3.4.3",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"core-js": "^3.36.0",
"deepmerge": "^4.3.1",
"intersection-observer": "^0.12.2",
"raf": "^3.4.1",
"scroll-behavior-polyfill": "^2.0.13",
"stickybits": "^3.7.11",
"tslib": "^2.6.2",
"vue-strict-prop": "^0.3.6",
"vue-tsx-support": "^3.0.3",
"yup": "^1.3.3",
"@ohu-mobile/icons": "0.14.0",
"@ohu-mobile/styles": "0.11.0"
},
"scripts": {
"vars": "tsx --tsconfig tsconfig.scripts.json scripts/createScssFile.ts ./src/_config/variables.ts",
"typecheck": "tsc --noEmit",
"build:min": "cross-env NODE_ENV=production rollup -c ./scripts/rollup.config.js --exports named",
"build:min-rem": "cross-env NODE_ENV=production CSS_EDITION=rem rollup -c ./scripts/rollup.config.js --exports named",
"build:rem": "cross-env CSS_EDITION=rem rollup -c ./scripts/rollup.config.js --exports named",
"build:loose": "rollup -c ./scripts/rollup.config.js --exports named",
"build": "pnpm build:min && pnpm build:min-rem && pnpm build:rem && pnpm build:loose",
"prebuild:lib-rem": "rm -rf ./lib-rem && tsc --project tsconfig.build.json --sourceMap false --outDir ./lib-rem",
"build:lib-rem": "tsx --tsconfig tsconfig.scripts.json scripts/buildLib.mts -t src/ -o lib-rem/ -b ./babel.config.js --useRem",
"prebuild:lib": "rm -rf ./lib && tsc --project tsconfig.build.json --sourceMap false",
"build:lib": "tsx --tsconfig tsconfig.scripts.json scripts/buildLib.mts -t src/ -o lib/ -b ./babel.config.js",
"prebuild:components": "pnpm vars",
"build:components": "pnpm build:lib && pnpm build:lib-rem",
"test": "vitest",
"test:cov": "vitest run --coverage",
"prepublish": "pnpm test && pnpm build:components",
"result:build": "ohu icon"
}
}