UNPKG

amis-model-design

Version:

amis模型设计器

159 lines (158 loc) 4.33 kB
{ "name": "amis-model-design", "version": "0.0.13", "description": "amis模型设计器", "main": "lib/index.js", "module": "esm/index.js", "types": "lib/index.d.ts", "exports": { ".": { "require": "./lib/index.js", "import": "./esm/index.js" }, "./lib/style.css": { "require": "./lib/style.css", "import": "./lib/style.css" }, "./lib/*": { "require": "./lib/*.js", "import": "./esm/*.js" }, "./*": { "require": "./lib/*.js", "import": "./esm/*.js" } }, "scripts": { "test": "jest", "start": "vite", "build": "npm run clean-dist && cross-env NODE_ENV=production rollup -c && npm run declaration", "declaration": "tsc --project tsconfig-for-declaration.json --allowJs --declaration --emitDeclarationOnly --declarationDir ./lib --rootDir ./src || true", "clean-dist": "rimraf lib/* esm/*", "i18n:update": "npx i18n update --config=./i18nConfig.js", "i18n:translate": "npx i18n translate --config=./i18nConfig.js --l=en-US", "publish-to-internal": "sh publish-model-design.sh" }, "keywords": [ "amis", "model", "desgin" ], "author": "@fex", "license": "ISC", "files": [ "lib", "esm" ], "lint-staged": { "{src,scss,examples}/**/**/*.{js,jsx,ts,tsx,scss,json}": [ "prettier --write" ], "{src,scss,examples}/**/**/*.scss": [ "stylelint" ] }, "dependencies": { "amis": "*", "amis-editor": "*", "hoist-non-react-statics": "^3.3.2", "i18n-runtime": "*", "lodash": "^4.17.15", "sortablejs": "1.15.0", "qs": "6.9.7" }, "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.23.0", "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.18.6", "@fortawesome/fontawesome-free": "^5.15.4", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^23.0.3", "@rollup/plugin-json": "^5.0.2", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-replace": "^5.0.1", "@rollup/plugin-typescript": "^10.0.1", "@svgr/rollup": "^6.5.1", "@types/jest": "^28.1.0", "@types/react-transition-group": "4.4.3", "@vitejs/plugin-react": "^2.1.0", "@types/lodash": "^4.14.175", "@types/qs": "^6.5.1", "@types/hoist-non-react-statics": "^3.3.1", "@types/sortablejs": "^1.3.32", "@types/react-dom": "^18.0.8", "amis": "6.10.0", "amis-core": "6.10.0", "amis-editor": "6.10.0", "amis-editor-core": "6.10.0", "amis-formula": "6.10.0", "amis-ui": "6.10.0", "amis-reports": "^1.5.2", "autoprefixer": "^10.4.16", "cross-env": "^7.0.3", "jest": "^29.0.3", "jest-canvas-mock": "^2.3.0", "jest-environment-jsdom": "^29.0.3", "lerna": "^5.5.2", "plugin-react-i18n": "^0.0.23-beta.1", "postcss-import": "^14.1.0", "postcss-minify": "^1.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "5.2.0", "rollup": "^2.73.0", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-license": "^2.7.0", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-terser": "^7.0.2", "sass": "^1.55.0", "ts-jest": "^29.0.2", "typescript": "^4.8.4", "vite": "^3.1.7", "vite-plugin-monaco-editor": "^1.1.0", "vite-plugin-svgr": "^2.2.1" }, "peerDependencies": { "amis": "*", "amis-core": "*", "amis-editor": "*", "amis-formula": "*", "amis-ui": "*", "i18n-runtime": "*" }, "jest": { "testEnvironment": "jsdom", "collectCoverageFrom": [ "src/**/*" ], "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "\\.(ts|tsx)$": [ "ts-jest", { "diagnostics": false } ] }, "setupFiles": [ "jest-canvas-mock" ], "testRegex": "/.*\\.test\\.(ts|tsx|js)$", "moduleNameMapper": {}, "setupFilesAfterEnv": [ "<rootDir>/__tests__/jest.setup.js" ], "snapshotFormat": { "escapeString": false, "printBasicPrototype": false } } }