package.json 3.26 KB
Newer Older
Mickaël Bourgier's avatar
Mickaël Bourgier committed
1
{
2
  "name": "@webalt/react",
Lucas Breton's avatar
v1.3.0    
Lucas Breton committed
3
  "version": "1.3.0",
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  "description": "A set of React components",
  "keywords": [
    "components",
    "lib",
    "react",
    "ui",
    "webf"
  ],
  "author": "Web|Alternatif <equipe@webalternatif.com>",
  "license": "MIT",
  "homepage": "https://react.webf.fr",
  "bugs": {
    "url": "https://git.webalternatif.com/webf/react-webf/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://git.webalternatif.com/webf/react-webf.git"
  },
  "files": [
    "dist",
    "src"
  ],
26
  "main": "dist/index.js",
27
  "module": "dist/es/index.js",
28
  "typings": "dist/index.d.ts",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
29
  "scripts": {
30
31
32
    "build": "rm -rf dist && yarn build:cjs && yarn build:es",
    "build:cjs": "tsc --rootDir ./src --outDir ./dist --declaration",
    "build:es": "tsc --rootDir ./src --outDir ./dist/es --declaration --target ES6 --moduleResolution node",
33
    "build:check": "tsc --noEmit",
34
35
    "dev": "yarn docs:dev",
    "docs:build": "rm -rf docs/dist && NODE_ENV=production webpack",
36
    "docs:dev": "webpack-dev-server --hot",
37
    "lint": "eslint './docs/**/*.{js,ts,tsx}' './src/**/*.{js,ts,tsx}'",
38
39
40
    "prepublishOnly": "yarn prettier:check && yarn lint && yarn build",
    "prettier": "prettier --write './src/**/*.{js,ts,tsx}' './docs/**/*.{js,ts,tsx}'",
    "prettier:check": "prettier --check './src/**/*.{js,ts,tsx}' './docs/**/*.{js,ts,tsx}'",
41
    "test": "jest"
Mickaël Bourgier's avatar
Mickaël Bourgier committed
42
43
  },
  "peerDependencies": {
Clara Jassey's avatar
Clara Jassey committed
44
45
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
46
    "react-icons": "3.x"
Mickaël Bourgier's avatar
Mickaël Bourgier committed
47
48
  },
  "dependencies": {
49
    "@webalt/utils": "^1.0.0",
50
    "babel-plugin-dev-expression": "^0.2.1",
51
    "classnames": "^2.2.5",
52
    "color": "^3.1.0",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
53
    "prop-types": "^15.6.1",
54
    "react-jss": "^8.3.5",
55
    "react-transition-group": "^4.3.0",
56
    "warning": "^4.0.2"
Mickaël Bourgier's avatar
Mickaël Bourgier committed
57
58
  },
  "devDependencies": {
59
    "@babel/cli": "^7.2.3",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
60
61
62
63
    "@babel/core": "^7.2.2",
    "@babel/plugin-proposal-class-properties": "^7.2.3",
    "@babel/preset-env": "^7.2.3",
    "@babel/preset-react": "^7.0.0",
64
    "@testing-library/jest-dom": "^5.1.1",
65
    "@testing-library/react": "^10.0.4",
66
    "@types/jest": "^25.2.1",
67
68
    "@types/react": "^16.9.34",
    "@types/react-dom": "^16.9.7",
69
70
    "@typescript-eslint/eslint-plugin": "^2.31.0",
    "@typescript-eslint/parser": "^2.31.0",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
71
72
    "babel-core": "^7.0.0-bridge.0",
    "babel-loader": "^8.0.5",
73
    "codemirror": "^5.42.0",
74
    "css-loader": "^3.4.2",
75
    "eslint": "^6.0.1",
76
    "eslint-plugin-jest": "^23.7.0",
77
    "eslint-plugin-react": "^7.14.2",
78
    "glob": "^7.1.4",
79
    "html-loader": "^1.1.0",
80
    "html-webpack-harddisk-plugin": "^1.0.1",
81
    "html-webpack-plugin": "^4.3.0",
82
    "jest": "^26.0.1",
83
    "prettier": "2.0.5",
84
    "raw-loader": "^4.0.0",
Clara Jassey's avatar
Clara Jassey committed
85
    "react": "^16.8.6",
86
    "react-codemirror2": "^7.1.0",
87
    "react-docgen": "^5.2.1",
88
    "react-docgen-typescript": "^1.16.4",
Clara Jassey's avatar
Clara Jassey committed
89
    "react-dom": "^16.8.6",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
90
    "react-hot-loader": "^4.0.0",
91
    "react-icons": "^3.4.0",
92
    "react-json-view": "^1.19.1",
93
    "react-markdown": "^4.0.4",
94
    "react-router-dom": "^5.1.2",
95
    "react-router-hash-link": "^1.2.1",
Clara Jassey's avatar
Clara Jassey committed
96
    "react-test-renderer": "^16.8.6",
97
    "style-loader": "^1.1.3",
98
    "ts-jest": "^25.4.0",
99
100
    "ts-loader": "^7.0.2",
    "typescript": "^3.8.3",
101
    "uglifyjs-webpack-plugin": "^2.1.1",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
102
    "webpack": "^4.2.0",
103
    "webpack-cli": "^3.1.2",
Mickaël Bourgier's avatar
Mickaël Bourgier committed
104
105
106
    "webpack-dev-server": "^3.1.1"
  }
}