-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.38 KB
/
package.json
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
{
"name": "react-segmenter",
"type": "module",
"version": "1.0.5",
"description": "A React component that utilizes Intl.Segmenter to control line breaks in Japanese text.",
"author": "NotFounds",
"license": "MIT",
"repository": "NotFounds/react-segmenter",
"keywords": ["react", "intl.segmenter"],
"source": "src/index.tsx",
"main": "dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.esm.js"
},
"engines": {
"node": ">=18"
},
"scripts": {
"build": "microbundle --jsx 'React.createElement' --jsxFragment 'React.Fragment' -f cjs,es --no-compress",
"dev": "microbundle watch --jsx 'React.createElement' --jsxFragment 'React.Fragment' -f cjs,es --no-compress",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"react": "^16.0.0 || ^18.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4 || ^5.0.0",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.1.4 || ^29.0.0",
"@types/node": "^12.12.38 || ^18.0.0",
"@types/react": "^16.9.27 || ^18.0.0",
"@types/react-dom": "^16.9.7 || ^18.0.0",
"@typescript-eslint/eslint-plugin": "^2.26.0 || ^5.0.0",
"@typescript-eslint/parser": "^2.26.0 || ^5.0.0",
"microbundle": "^0.15.1",
"@babel/eslint-parser": "^10.0.3 || ^7.11.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0 || ^8.0.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^2.2.0 || ^5.0.0",
"npm-run-all2": "^4.1.5 || ^5.0.0",
"prettier": "^2.0.4",
"react": "^16.13.1 || ^18.0.0",
"react-dom": "^16.13.1 || ^18.0.0",
"react-scripts": "^3.4.1",
"typescript": "^5.0.4"
},
"files": [
"dist"
]
}