package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "@ant-design/icons",
  3. "version": "2.1.1",
  4. "description": "Ant Design Icons",
  5. "module": "lib/index.es.js",
  6. "main": "lib/index.js",
  7. "sideEffects": false,
  8. "repository": "https://github.com/ant-design/ant-design-icons",
  9. "contributors": [
  10. "HeskeyBaozi <hezhiyu233@foxmail.com>"
  11. ],
  12. "files": [
  13. "lib",
  14. "svg",
  15. "inline-svg"
  16. ],
  17. "license": "MIT",
  18. "scripts": {
  19. "build": "npm run build:lib && npm run build:index-es && npm run build:umd",
  20. "build:lib": "cross-env NODE_ENV=production rimraf lib && tsc --project ./tsconfig.json --outDir lib",
  21. "build:index-es": "cross-env NODE_ENV=production rimraf lib/index.es.js && babel --extensions '.ts' --presets @babel/preset-typescript src/index.ts --out-file lib/index.es.js",
  22. "generate": "cross-env TS_NODE_PROJECT=build/tsconfig.json node --require ts-node/register build/index.ts",
  23. "clean:src": "cross-env TS_NODE_PROJECT=build/tsconfig.json node --require ts-node/register build/scripts/clean.ts",
  24. "test": "npm run test:unit",
  25. "test:unit": "jest",
  26. "lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}' 'site/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}'",
  27. "clean:build": "rimraf .cache es lib",
  28. "start": "gatsby develop",
  29. "build:umd": "webpack --config umd.webpack.config.js -p",
  30. "prepublish": "npm run lint && npm run test && npm run generate && npm run build"
  31. },
  32. "devDependencies": {
  33. "@babel/cli": "^7.0.0",
  34. "@babel/core": "^7.0.0",
  35. "@babel/plugin-proposal-class-properties": "^7.0.0",
  36. "@babel/plugin-proposal-decorators": "^7.0.0",
  37. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  38. "@babel/plugin-transform-runtime": "^7.0.0",
  39. "@babel/preset-env": "^7.0.0",
  40. "@babel/preset-react": "^7.0.0",
  41. "@babel/preset-typescript": "^7.0.0",
  42. "@babel/runtime": "^7.0.0",
  43. "@svgr/core": "^2.1.1",
  44. "@types/fs-extra": "^5.0.4",
  45. "@types/globby": "^8.0.0",
  46. "@types/history": "^4.7.0",
  47. "@types/jest": "^23.3.1",
  48. "@types/lodash": "^4.14.115",
  49. "@types/node": "^10.5.5",
  50. "@types/parse5": "^5.0.0",
  51. "@types/prettier": "^1.13.2",
  52. "@types/react": "^16.4.7",
  53. "@types/react-router": "3.0.20",
  54. "@types/rimraf": "^2.0.2",
  55. "@types/svgo": "^1.0.1",
  56. "antd": "^3.8.2",
  57. "babel-core": "^6.26.3",
  58. "babel-jest": "^23.4.2",
  59. "babel-plugin-macros": "^2.4.0",
  60. "chalk": "^2.4.1",
  61. "cross-env": "^5.2.0",
  62. "fs-extra": "^7.0.0",
  63. "gatsby": "^2.4.2",
  64. "gatsby-plugin-page-creator": "^2.0.12",
  65. "gatsby-plugin-typescript": "^2.0.13",
  66. "globby": "^8.0.1",
  67. "jest": "^23.4.2",
  68. "lodash": "^4.17.10",
  69. "mobx": "^5.0.4",
  70. "mobx-react": "^5.2.5",
  71. "parse5": "^5.1.0",
  72. "prettier": "1.14.2",
  73. "react": "^16.4.2",
  74. "react-dom": "^16.4.2",
  75. "rimraf": "^2.6.2",
  76. "rxjs": "^6.2.2",
  77. "styled-components": "^3.4.4",
  78. "svgo": "^1.0.5",
  79. "ts-jest": "^23.1.0",
  80. "ts-node": "^7.0.1",
  81. "tslint": "^5.11.0",
  82. "typescript": "^3.0.1",
  83. "webpack-cli": "^3.1.0",
  84. "webpackbar": "^2.6.1"
  85. },
  86. "jest": {
  87. "transform": {
  88. "^.+\\.tsx?$": "ts-jest"
  89. },
  90. "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
  91. "moduleFileExtensions": [
  92. "ts",
  93. "tsx",
  94. "js",
  95. "jsx",
  96. "json",
  97. "node"
  98. ],
  99. "globals": {
  100. "ts-jest": {
  101. "tsConfigFile": "./test/tsconfig.json",
  102. "skipBabel": true
  103. }
  104. },
  105. "testURL": "http://localhost",
  106. "testPathIgnorePatterns": [
  107. "<rootDir>/packages/",
  108. "<rootDir>/node_modules/",
  109. "<rootDir>/.cache/"
  110. ]
  111. },
  112. "gitHead": "225d4d2189720ee3b7e4a4d7a6d80e076fa15cbc"
  113. }