123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- {
- "name": "labeling-tool-front",
- "version": "1.0.0",
- "description": "an admin starter-template with typescript, react, mobx and webpack...",
- "main": "index.js",
- "sideEffects": [
- "src/**",
- "node_modules/@ant-design/**",
- "node_modules/antd/**",
- "node_modules/lodash-es/**"
- ],
- "scripts": {
- "start": "cross-env NODE_ENV=development APP_ENV=dev webpack serve --config config/webpack.config.js",
- "lint:eslint": "eslint --fix -c .eslintrc.js --ext .ts,.tsx,.js,.jsx src",
- "lint:stylelint": "stylelint --fix --config .stylelintrc.js src/**/*.{less,css,scss}",
- "build": "cross-env NODE_ENV=production webpack --config config/webpack.config.js",
- "build:qa": "cross-env APP_ENV=qa npm run build",
- "build:prod": "cross-env APP_ENV=prod npm run build"
- },
- "keywords": [
- "webpack",
- "typescript",
- "admin",
- "react",
- "mobx",
- "starter-template"
- ],
- "husky": {
- "hooks": {
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
- }
- },
- "author": "jackple",
- "dependencies": {
- "@babel/plugin-transform-runtime": "^7.12.17",
- "@loadable/component": "5.15.0",
- "@superwf/mobx-react-router": "6.0.0",
- "ahooks": "^2.10.11",
- "antd": "4.16.9",
- "antd-mobile": "^2.3.4",
- "axios": "^0.21.1",
- "bourbon": "7.0.0",
- "copy-webpack-plugin": "^9.0.1",
- "crypto-js": "^4.1.1",
- "css-loader": "^1.0.0",
- "dotenv": "^10.0.0",
- "dotenv-expand": "^5.1.0",
- "eventemitter3": "4.0.7",
- "express": "^4.17.1",
- "label-studio": "^1.0.1",
- "lodash-es": "^4.17.21",
- "nprogress": "^0.2.0",
- "path-to-regexp": "6.2.0",
- "polished": "^4.1.3",
- "prop-types": "^15.7.2",
- "query-string": "^7.0.1",
- "react": "17.0.2",
- "react-document-title": "^2.0.3",
- "react-dom": "17.0.2",
- "react-intl-universal": "2.4.8",
- "react-json-view": "1.21.3",
- "react-router-dom": "5.2.0",
- "react-virtualized": "9.22.3",
- "recoil": "^0.4.1",
- "socket.io-client": "2.3.0",
- "socketio-wildcard": "2.0.0",
- "styled-components": "^5.3.1",
- "tslib": "^2.3.1",
- "tslint": "^6.1.3",
- "webpack-api-mocker": "^1.7.6"
- },
- "devDependencies": {
- "@babel/core": "^7.15.5",
- "@babel/helper-builder-react-jsx": "^7.15.4",
- "@babel/node": "^7.15.4",
- "@babel/plugin-proposal-class-properties": "7.14.5",
- "@babel/plugin-proposal-decorators": "7.14.5",
- "@babel/plugin-proposal-optional-chaining": "^7.13.12",
- "@babel/plugin-syntax-dynamic-import": "^7.2.0",
- "@babel/plugin-transform-react-constant-elements": "^7.12.13",
- "@babel/plugin-transform-react-inline-elements": "^7.12.13",
- "@babel/plugin-transform-runtime": "^7.12.17",
- "@babel/preset-env": "7.14.8",
- "@babel/preset-react": "7.14.5",
- "@babel/preset-typescript": "7.14.5",
- "@babel/runtime": "^7.13.10",
- "@babel/runtime-corejs3": "^7.13.10",
- "@commitlint/cli": "13.1.0",
- "@commitlint/config-conventional": "13.1.0",
- "@svgr/webpack": "5.5.0",
- "@types/classnames": "2.3.1",
- "@types/crypto-js": "^4.0.1",
- "@types/enzyme": "3.10.9",
- "@types/enzyme-adapter-react-16": "^1.0.5",
- "@types/express": "^4.17.11",
- "@types/jest": "26.0.24",
- "@types/loadable__component": "5.13.4",
- "@types/lodash": "4.14.171",
- "@types/lodash-es": "^4.17.4",
- "@types/mockjs": "^1.0.3",
- "@types/node": "16.4.8",
- "@types/nprogress": "^0.2.0",
- "@types/qs": "6.9.7",
- "@types/react": "17.0.15",
- "@types/react-dom": "17.0.9",
- "@types/react-router-dom": "5.1.8",
- "@types/react-virtualized": "9.21.12",
- "@types/socket.io-client": "1.4.34",
- "@types/styled-components": "^5.1.9",
- "@types/webpack-env": "1.16.2",
- "@typescript-eslint/eslint-plugin": "4.28.5",
- "@typescript-eslint/parser": "4.28.5",
- "autoprefixer": "10.3.1",
- "babel-loader": "8.2.2",
- "babel-plugin-dynamic-import-node": "^2.3.3",
- "babel-plugin-import": "1.13.3",
- "babel-plugin-remove-graphql-queries": "^3.3.0",
- "cache-loader": "4.1.0",
- "case-sensitive-paths-webpack-plugin": "2.4.0",
- "classnames": "2.3.1",
- "core-js": "3.16.0",
- "cross-env": "7.0.3",
- "css-loader": "6.2.0",
- "customaddcomponents": "^1.0.35",
- "enzyme": "^3.10.0",
- "enzyme-adapter-react-16": "1.15.6",
- "enzyme-to-json": "3.6.2",
- "eslint": "7.32.0",
- "eslint-config-prettier": "8.3.0",
- "eslint-import-resolver-typescript": "^2.4.0",
- "eslint-import-resolver-webpack": "^0.13.0",
- "eslint-plugin-import": "^2.22.1",
- "eslint-plugin-jsx-a11y": "^6.4.1",
- "eslint-plugin-prettier": "3.4.0",
- "eslint-plugin-promise": "^4.3.1",
- "eslint-plugin-react": "7.24.0",
- "eslint-plugin-react-hooks": "^4.2.0",
- "eslint-plugin-unicorn": "^28.0.2",
- "eslint-webpack-plugin": "^3.0.1",
- "file-loader": "6.2.0",
- "fork-ts-checker-webpack-plugin": "6.2.13",
- "fs-extra": "10.0.0",
- "html-webpack-plugin": "^5.3.2",
- "husky": "7.0.1",
- "identity-obj-proxy": "^3.0.0",
- "jest": "27.0.6",
- "less": "4.1.1",
- "less-loader": "10.0.1",
- "lint-staged": "11.1.1",
- "mini-css-extract-plugin": "1.3.1",
- "moment": "^2.29.1",
- "moment-locales-webpack-plugin": "1.2.0",
- "postcss": "8.3.6",
- "postcss-loader": "6.1.1",
- "prettier": "2.3.2",
- "prettier-stylelint": "^0.4.2",
- "react-dev-utils": "11.0.4",
- "sass": "1.37.0",
- "sass-loader": "12.1.0",
- "style-loader": "^3.3.1",
- "stylelint": "13.13.1",
- "stylelint-config-prettier": "8.0.2",
- "stylelint-order": "4.1.0",
- "stylelint-prettier": "1.2.0",
- "terser-webpack-plugin": "5.1.4",
- "thread-loader": "3.0.4",
- "ts-jest": "27.0.4",
- "tsconfig-paths-webpack-plugin": "3.5.1",
- "typed-css-modules-webpack-plugin": "0.2.0",
- "typescript": "4.3.5",
- "url-loader": "4.1.1",
- "webpack": "^5.47.1",
- "webpack-bundle-analyzer": "4.4.2",
- "webpack-cli": "^4.9.1",
- "webpack-dev-server": "3.11.2",
- "webpack-hot-middleware": "^2.25.0",
- "workbox-webpack-plugin": "^6.2.4"
- },
- "lint-staged": {
- "*.{ts,tsx,js,jsx}": [
- "eslint --fix --config .eslintrc.js"
- ],
- "*.{css,less,scss}": [
- "stylelint --fix --config .stylelintrc.js"
- ],
- "*.{ts,tsx,js,json,html,yml,css,less,scss,md}": [
- "prettier --write"
- ]
- },
- "browserslist": [
- "> 1%",
- "last 2 versions",
- "not ie <= 11"
- ],
- "jest": {
- "moduleFileExtensions": [
- "ts",
- "tsx",
- "js"
- ],
- "transform": {
- "^.+\\.tsx?$": "ts-jest"
- },
- "setupFiles": [
- "raf/polyfill"
- ],
- "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
- "setupFilesAfterEnv": [
- "<rootDir>src/setupTests.ts"
- ],
- "snapshotSerializers": [
- "enzyme-to-json"
- ],
- "moduleNameMapper": {
- "\\.(css|less|scss|svg|jpg|jpeg|png|gif)$": "identity-obj-proxy",
- "^@constants/(.*)$": "<rootDir>/src/constants//$1",
- "^@services/(.*)$": "<rootDir>/src/services//$1",
- "^@utils/(.*)$": "<rootDir>/src/utils//$1",
- "^@assets/(.*)$": "<rootDir>/src/styles/assets//$1",
- "^@components/(.*)$": "<rootDir>/src/components//$1",
- "^@views/(.*)$": "<rootDir>/src/containers/views//$1",
- "^@shared/(.*)$": "<rootDir>/src/containers/shared//$1"
- }
- },
- "license": "ISC"
- }
|