@financial-times/dotcom-ui-shell 2.6.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. package/package.json +19 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-ui-shell",
3
- "version": "2.6.1",
3
+ "version": "4.1.0",
4
4
  "description": "",
5
5
  "main": "component.js",
6
6
  "browser": "browser.js",
@@ -14,29 +14,38 @@
14
14
  "clean:install": "npm run clean && npm i",
15
15
  "build:node": "npm run tsc -- --module commonjs --outDir ./dist/node",
16
16
  "build": "npm run build:node",
17
- "dev": "npm run build:node -- --watch"
17
+ "dev": "npm run build:node -- --watch",
18
+ "preinstall": "[ \"$INIT_CWD\" != \"$PWD\" ] || npm_config_yes=true npx check-engine"
18
19
  },
19
20
  "keywords": [],
20
21
  "author": "",
21
22
  "license": "MIT",
22
23
  "dependencies": {
23
- "@financial-times/dotcom-ui-app-context": "^2.6.1",
24
- "@financial-times/dotcom-ui-base-styles": "^2.6.1",
25
- "@financial-times/dotcom-ui-bootstrap": "^2.6.1",
26
- "@financial-times/dotcom-ui-flags": "^2.6.1",
27
- "@financial-times/dotcom-ui-polyfill-service": "^2.6.1",
24
+ "@financial-times/dotcom-ui-app-context": "^4.1.0",
25
+ "@financial-times/dotcom-ui-base-styles": "^4.1.0",
26
+ "@financial-times/dotcom-ui-bootstrap": "^4.1.0",
27
+ "@financial-times/dotcom-ui-flags": "^4.1.0",
28
+ "@financial-times/dotcom-ui-polyfill-service": "^4.1.0",
28
29
  "mime-types": "^2.1.26"
29
30
  },
30
31
  "peerDependencies": {
31
- "react": "^16.8.6"
32
+ "react": "16.x || 17.x"
32
33
  },
33
34
  "engines": {
34
- "node": ">= 12.0.0"
35
+ "node": ">= 12.0.0",
36
+ "npm": "7.x || 8.x"
35
37
  },
36
38
  "repository": {
37
39
  "type": "git",
38
40
  "repository": "https://github.com/Financial-Times/dotcom-page-kit.git",
39
41
  "directory": "packages/dotcom-ui-shell"
40
42
  },
41
- "homepage": "https://github.com/Financial-Times/dotcom-page-kit/tree/HEAD/packages/dotcom-ui-shell"
43
+ "homepage": "https://github.com/Financial-Times/dotcom-page-kit/tree/HEAD/packages/dotcom-ui-shell",
44
+ "volta": {
45
+ "extends": "../../package.json"
46
+ },
47
+ "devDependencies": {
48
+ "check-engine": "^1.10.1",
49
+ "react": "^16.8.6"
50
+ }
42
51
  }