-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
113 lines (113 loc) · 3.21 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "react-dynamic-font",
"version": "2.0.1",
"description": "make your text does not wrap and dynamically adjust the font size",
"main": "lib/index.cjs.js",
"module": "es/index.esm.js",
"unpkg": "browser/react-dynamic-font.min.js",
"files": [
"lib",
"es",
"browser",
"types",
"styles.css",
"README.md"
],
"types": "./types/index.d.ts",
"scripts": {
"start": "run-s clean initDevBuildBeforeWatch dev",
"dev": "run-p watch example",
"build": "run-s clean build:rollup",
"build:rollup": "cross-env NODE_ENV=production rollup -c rollup.config.js",
"example": "parcel examples/public/index.html",
"initDevBuildBeforeWatch": "rollup -c rollup.config.js",
"watch": "rollup -w -c rollup.config.js",
"clean": "rimraf examples/src/lib es lib browser types styles.css",
"test": "jest --watch",
"test:all": "jest",
"lint": "run-p lint:ts",
"lint:ts": "eslint --fix \"**/*.@(js|jsx|ts|tsx)\"",
"format": "prettier --write \"**/*.@(css|js|jsx|ts|tsx|json|md)\"",
"precommit": "lint-staged",
"prepublishOnly": "run-s build"
},
"lint-staged": {
"**/*.@(js|jsx|ts|tsx)": [
"prettier --write",
"eslint --fix",
"git add"
],
"**/*.@(css|json|md)": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/foisonocean/react-dynamic-font.git"
},
"keywords": [
"react",
"dynamic",
"font",
"fixed",
"width"
],
"author": "foisonocean",
"license": "MIT",
"bugs": {
"url": "https://github.com/foisonocean/react-dynamic-font/issues"
},
"homepage": "https://github.com/foisonocean/react-dynamic-font#readme",
"peerDependencies": {
"react": "^16.3.0",
"react-dom": "^16.3.0"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.4.3",
"@types/enzyme": "^3.1.11",
"@types/enzyme-adapter-react-16": "^1.0.2",
"@types/jest": "^23.1.4",
"@types/react": "^16.4.6",
"@types/react-dom": "^16.0.6",
"autoprefixer": "^8.6.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-react": "^6.24.1",
"camelcase": "^5.0.0",
"cross-env": "^5.2.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.0.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-typescript": "^0.12.0",
"husky": "^0.14.3",
"jest": "^23.2.0",
"lint-staged": "^7.2.0",
"normalize.css": "^8.0.0",
"npm-run-all": "^4.1.3",
"parcel-bundler": "^1.9.4",
"prettier": "^1.13.7",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "^2.6.2",
"rollup": "^0.62.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.15.1",
"stylus": "^0.54.5",
"ts-jest": "^23.0.0",
"tslib": "^1.9.3",
"typescript": "^2.9.2",
"typescript-eslint-parser": "^16.0.1"
},
"browserslist": [
"> 1%",
"ie 10"
]
}