package.json 3.9 KB
Newer Older
stevo's avatar
stevo committed
1
2
{
  "name": "react-bootstrap",
Jimmy Jia's avatar
Jimmy Jia committed
3
  "version": "1.0.0-beta.11",
4
  "description": "Bootstrap 4 components built with React",
stevo's avatar
stevo committed
5
6
7
8
  "repository": {
    "type": "git",
    "url": "react-bootstrap/react-bootstrap"
  },
Jimmy Jia's avatar
Jimmy Jia committed
9
  "homepage": "https://react-bootstrap.github.io/",
10
  "sideEffects": false,
Jason Quense's avatar
Jason Quense committed
11
  "main": "lib/index.js",
12
  "module": "lib/es/index.js",
stevo's avatar
stevo committed
13
  "scripts": {
Jason Quense's avatar
Jason Quense committed
14
    "bootstrap": "yarn && yarn --cwd www",
Jason Quense's avatar
Jason Quense committed
15
    "build": "node tools/build.js",
Jason Quense's avatar
Jason Quense committed
16
    "build-docs": "yarn --cwd www run build",
17
    "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
Jimmy Jia's avatar
Jimmy Jia committed
18
    "dtslint": "dtslint types",
Jimmy Jia's avatar
Jimmy Jia committed
19
20
    "format": "eslint . --fix && npm run prettier -- --write",
    "lint": "eslint . && npm run prettier -- -l",
Jason Quense's avatar
Jason Quense committed
21
    "prepublishOnly": "npm run build",
Jimmy Jia's avatar
Jimmy Jia committed
22
    "prettier": "prettier \"types/**/*.{ts,tsx}\"",
Jimmy Jia's avatar
Jimmy Jia committed
23
24
    "release": "rollout",
    "start": "yarn --cwd www run develop",
Jimmy Jia's avatar
Jimmy Jia committed
25
    "tdd": "karma start",
26
    "test": "npm run lint && npm run dtslint && npm run test-browser && npm run test-node",
Jimmy Jia's avatar
Jimmy Jia committed
27
    "test-browser": "cross-env NODE_ENV=test karma start --single-run",
Jimmy Jia's avatar
Jimmy Jia committed
28
    "test-node": "cross-env NODE_ENV=test-server mocha --require @babel/register test/server/*Spec.js"
29
  },
30
31
32
33
34
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
Jason Quense's avatar
Jason Quense committed
35
  "lint-staged": {
36
    "*.js": [
37
      "eslint --fix",
38
      "git add"
Jimmy Jia's avatar
Jimmy Jia committed
39
40
41
42
    ],
    "types/**/*.ts": [
      "prettier --write",
      "git add"
43
    ]
Jason Quense's avatar
Jason Quense committed
44
45
  },
  "prettier": {
Jason Quense's avatar
Jason Quense committed
46
47
    "singleQuote": true,
    "trailingComma": "all"
Jason Quense's avatar
Jason Quense committed
48
  },
49
50
51
52
53
54
55
56
57
58
59
60
  "files": [
    "CHANGELOG.md",
    "lib",
    "dist",
    "es"
  ],
  "keywords": [
    "react",
    "ecosystem-react",
    "react-component",
    "bootstrap"
  ],
stevo's avatar
stevo committed
61
62
63
  "author": "Stephen J. Collings <stevoland@gmail.com>",
  "license": "MIT",
  "peerDependencies": {
Jimmy Jia's avatar
Jimmy Jia committed
64
65
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0"
stevo's avatar
stevo committed
66
67
  },
  "devDependencies": {
68
69
70
71
    "@4c/rollout": "^1.3.6",
    "@babel/cli": "^7.5.0",
    "@babel/core": "^7.5.4",
    "@babel/register": "^7.4.4",
72
    "@react-bootstrap/babel-preset": "^1.1.3",
73
74
75
76
    "@react-bootstrap/eslint-config": "^1.2.0",
    "@types/react": "^16.8.23",
    "babel-eslint": "^10.0.2",
    "babel-loader": "^8.0.6",
Jimmy Jia's avatar
Jimmy Jia committed
77
    "babel-plugin-istanbul": "^5.1.4",
78
    "chai": "^4.2.0",
Jason Quense's avatar
Jason Quense committed
79
    "chalk": "^2.4.2",
80
    "codecov": "^3.5.0",
81
    "colors": "^1.3.3",
82
    "conventional-changelog-cli": "^2.0.21",
83
    "cpy-cli": "^2.0.0",
Jimmy Jia's avatar
Jimmy Jia committed
84
    "cross-env": "^5.2.0",
85
    "dtslint": "^0.9.0",
86
87
    "enzyme": "^3.10.0",
    "enzyme-adapter-react-16": "^1.14.0",
88
    "eslint": "^6.0.1",
Jimmy Jia's avatar
Jimmy Jia committed
89
    "eslint-import-resolver-node": "^0.3.2",
90
91
92
    "eslint-import-resolver-webpack": "^0.11.1",
    "eslint-plugin-import": "^2.18.0",
    "eslint-plugin-jsx-a11y": "^6.2.3",
93
    "eslint-plugin-mocha": "^6.0.0",
94
95
96
97
    "eslint-plugin-prettier": "^3.1.0",
    "eslint-plugin-react": "^7.14.2",
    "execa": "^2.0.3",
    "fs-extra": "^8.1.0",
98
    "husky": "^3.0.0",
99
    "karma": "^4.2.0",
100
    "karma-chrome-launcher": "^3.0.0",
101
    "karma-cli": "^2.0.0",
Jason Quense's avatar
Jason Quense committed
102
    "karma-coverage": "^1.1.2",
Jimmy Jia's avatar
Jimmy Jia committed
103
104
105
    "karma-firefox-launcher": "^1.1.0",
    "karma-mocha": "^1.3.0",
    "karma-mocha-reporter": "^2.2.5",
106
    "karma-sinon-chai": "^2.0.2",
Jimmy Jia's avatar
Jimmy Jia committed
107
    "karma-sourcemap-loader": "^0.3.7",
108
    "karma-webpack": "^4.0.2",
109
110
111
112
    "lint-staged": "^9.2.0",
    "lodash": "^4.17.14",
    "mocha": "^6.1.4",
    "prettier": "^1.18.2",
Jimmy Jia's avatar
Jimmy Jia committed
113
114
115
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
    "react-test-renderer": "^16.8.6",
116
    "sinon": "^7.3.2",
117
    "sinon-chai": "^3.3.0",
118
119
    "typescript": "^3.5.3",
    "webpack": "^4.35.3"
jquense's avatar
jquense committed
120
121
  },
  "dependencies": {
Jimmy Jia's avatar
Jimmy Jia committed
122
    "@babel/runtime": "^7.4.2",
123
    "@react-bootstrap/react-popper": "1.2.1",
Jimmy Jia's avatar
Jimmy Jia committed
124
    "@restart/context": "^2.1.4",
125
    "@restart/hooks": "^0.3.11",
126
    "classnames": "^2.2.6",
127
    "dom-helpers": "^3.4.0",
Jimmy Jia's avatar
Jimmy Jia committed
128
129
    "invariant": "^2.2.4",
    "keycode": "^2.2.0",
Jason Quense's avatar
Jason Quense committed
130
    "popper.js": "^1.14.7",
131
    "prop-types": "^15.7.2",
Jason Quense's avatar
Jason Quense committed
132
    "prop-types-extra": "^1.1.0",
Jason Quense's avatar
Jason Quense committed
133
    "react-overlays": "^1.2.0",
134
    "react-transition-group": "^4.0.0",
135
    "uncontrollable": "^7.0.0",
Jason Quense's avatar
Jason Quense committed
136
    "warning": "^4.0.3"
AlexKVal's avatar
AlexKVal committed
137
  },
138
139
  "release": {
    "publishDir": "lib"
stevo's avatar
stevo committed
140
  }
141
}