@financial-times/dotcom-ui-polyfill-service 2.6.2 → 3.0.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 +12 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-ui-polyfill-service",
3
- "version": "2.6.2",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "main": "server.js",
6
6
  "browser": "browser.js",
@@ -14,18 +14,26 @@
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
  "engines": {
23
- "node": ">= 12.0.0"
24
+ "node": ">= 12.0.0",
25
+ "npm": "7.x || 8.x"
24
26
  },
25
27
  "repository": {
26
28
  "type": "git",
27
29
  "repository": "https://github.com/Financial-Times/dotcom-page-kit.git",
28
30
  "directory": "packages/dotcom-ui-polyfill-service"
29
31
  },
30
- "homepage": "https://github.com/Financial-Times/dotcom-page-kit/tree/HEAD/packages/dotcom-ui-polyfill-service"
32
+ "homepage": "https://github.com/Financial-Times/dotcom-page-kit/tree/HEAD/packages/dotcom-ui-polyfill-service",
33
+ "volta": {
34
+ "extends": "../../package.json"
35
+ },
36
+ "devDependencies": {
37
+ "check-engine": "^1.10.1"
38
+ }
31
39
  }