1 | {
|
2 | "name": "@moxy/next-intl",
|
3 | "version": "2.0.2",
|
4 | "description": "Library to integrate react-intl with Next.js, making it easy to manage the current locale based on configurable policies",
|
5 | "main": "lib/index.js",
|
6 | "module": "es/index.js",
|
7 | "browser": {
|
8 | "lib/react/NextIntlScript.js": "./lib/react/NextIntlScript.browser.js",
|
9 | "lib/polyfill": "./lib/polyfill.browser.js",
|
10 | "es/react/NextIntlScript.js": "./es/react/NextIntlScript.browser.js",
|
11 | "es/polyfill": "./es/polyfill.browser.js"
|
12 | },
|
13 | "files": [
|
14 | "lib",
|
15 | "es",
|
16 | "plugin.js"
|
17 | ],
|
18 | "scripts": {
|
19 | "lint": "eslint . --ignore-path .gitignore",
|
20 | "test": "NODE_ICU_DATA=node_modules/full-icu jest",
|
21 | "build:commonjs": "BABEL_ENV=commonjs babel src -d lib --delete-dir-on-start",
|
22 | "build:es": "BABEL_ENV=es babel src -d es --delete-dir-on-start",
|
23 | "build": "npm run build:commonjs && npm run build:es",
|
24 | "prerelease": "npm t && npm run lint && npm run build",
|
25 | "release": "standard-version",
|
26 | "postrelease": "git push --follow-tags origin HEAD && npm publish"
|
27 | },
|
28 | "keywords": [
|
29 | "react",
|
30 | "next",
|
31 | "nextjs",
|
32 | "locale",
|
33 | "localization",
|
34 | "intl",
|
35 | "l10n",
|
36 | "i18n",
|
37 | "isomorphic",
|
38 | "language"
|
39 | ],
|
40 | "author": "André Cruz <andre@moxy.studio>",
|
41 | "license": "MIT",
|
42 | "repository": {
|
43 | "type": "git",
|
44 | "url": "git@github.com:moxystudio/next-intl.git"
|
45 | },
|
46 | "dependencies": {
|
47 | "@formatjs/intl-pluralrules": "^1.3.2",
|
48 | "@formatjs/intl-relativetimeformat": "^4.4.1",
|
49 | "accept-language-parser": "^1.5.0",
|
50 | "hoist-non-react-statics": "^3.3.1",
|
51 | "p-cancelable": "^2.0.0",
|
52 | "p-defer": "^3.0.0",
|
53 | "pico-signals": "^1.0.0",
|
54 | "prop-types": "^15.7.2",
|
55 | "universal-cookie": "^4.0.3",
|
56 | "webpack-sources": "^1.4.3"
|
57 | },
|
58 | "peerDependencies": {
|
59 | "react": "^16.8.0",
|
60 | "react-intl": "^4.1.0",
|
61 | "next": ">=8 <=9"
|
62 | },
|
63 | "devDependencies": {
|
64 | "@babel/cli": "^7.6.4",
|
65 | "@babel/core": "^7.6.4",
|
66 | "@commitlint/cli": "^8.1.0",
|
67 | "@commitlint/config-conventional": "^8.1.0",
|
68 | "@moxy/babel-preset": "^3.2.4",
|
69 | "@moxy/eslint-config": "^10.1.1",
|
70 | "@moxy/jest-config": "^2.0.0",
|
71 | "@testing-library/react": "^9.3.2",
|
72 | "delay": "^4.3.0",
|
73 | "eslint": "^6.6.0",
|
74 | "full-icu": "^1.3.1",
|
75 | "husky": "^4.0.10",
|
76 | "jest": "^25.1.0",
|
77 | "lint-staged": "^10.0.7",
|
78 | "next": "^9.3.4",
|
79 | "react": "^16.12.0",
|
80 | "react-dom": "^16.12.0",
|
81 | "react-intl": "^4.1.0",
|
82 | "standard-version": "^7.0.0"
|
83 | }
|
84 | }
|