Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "react-from-text",
"version": "2.0.0",
"license": "MIT",
"description": "Create React elements from a string containing markup and/or placeholders. Useful for creating nicely-structured translation strings.",
"keywords": [
"react",
"translation",
"strings",
"tags",
"i18n",
"internationalization"
],
"author": "Paul Robertson (paul@probertson.com)",
"type": "module",
"main": "dist/react-from-text.cjs.js",
"module": "dist/react-from-text.esm.js",
"exports": {
"import": "./dist/react-from-text.esm.js",
"require": "./dist/react-from-text.cjs.js"
},
"scripts": {
"build": "babel src --out-dir dist --ignore 'src/**/__tests__/**/*.js'",
"test": "jest",
"dist": "rollup --config rollup.config.js",
"prepublishOnly": "yarn build",
"release": "npx release-it",
"prettier": "./node_modules/.bin/prettier --config ./.prettierrc.js --write src/**/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/probertson/react-from-text.git"
},
"bugs": {
"url": "https://github.com/probertson/react-from-text/issues"
},
"homepage": "https://github.com/probertson/react-from-text#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.13.0",
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@rollup/plugin-babel": "^6.0.3",
"@testing-library/react": "^12.1.5",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rollup": "^2.77.2",
"sprintf-js": "^1.1.2"
},
"peerDependencies": {
"react": "^16.0.0",
"sprintf-js": "^1.1.2"
},
"dependencies": {
"invariant": "^2.2.4"
}
}