forked from kennethormandy/react-fittext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.6 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
{
"name": "@flightstats/airframe-react-fittext",
"version": "0.6.1",
"author": "Kenneth Ormandy <[email protected]> (http://kennethormandy.com)",
"main": "./lib/FitText.js",
"repository": "https://github.com/kennethormandy/react-fittext",
"license": "MIT",
"dependencies": {
"lodash.debounce": "^4.0.8",
"prop-types": "^15.6.1"
},
"engines": {
"node": ">=8.x",
"npm": ">=5.x"
},
"devDependencies": {
"@storybook/addon-info": "3.3.12",
"@storybook/addon-notes": "3.3.12",
"@storybook/addon-options": "3.4.2",
"@storybook/react": "3.4.2",
"ava": "0.15.2",
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-loader": "6.4.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.7.0",
"babel-preset-react": "6.24.1",
"babel-register": "6.26.0",
"babel-runtime": "6.26.0",
"del-cli": "0.2.0",
"fontfaceobserver": "2.0.13",
"html-loader": "0.5.5",
"jsdom": "9.5.0",
"markdown-loader": "2.0.2",
"prettier": "1.14.3",
"react": "16.2.0",
"react-dom": "16.2.0",
"size-limit": "0.21.1",
"webpack": "2.4.1",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "2.8.2"
},
"peerDependencies": {
"react": "^16.x || ^17.x",
"react-dom": "^16.x || ^17.x"
},
"scripts": {
"clean": "npx del ./dist/*",
"build-js": "NODE_ENV=production webpack -p; babel src/ --out-dir ./lib/",
"prebuild": "mkdir ./dist; npm run clean;",
"build": "npm run build-js",
"prepublishOnly": "npm run build",
"start": "webpack-dev-server",
"lint": "prettier --write './src/*.{js,jsx}'",
"test": "ava; npx size-limit",
"posttest": "npm run lint",
"storybook": "start-storybook -p 8081 -c .storybook",
"build-storybook": "build-storybook -c .storybook -o dist/storybook",
"deploy-storybook": "npm run build-storybook; npx surge ./dist/storybook react-fittext.kennethormandy.com"
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": true
},
"browserslist": "last 2 versions, safari >= 7",
"babel": {
"presets": [
"env",
"react"
]
},
"size-limit": [
{
"path": "./dist/FitText.js",
"webpack": false,
"limit": "3 KB"
}
],
"ava": {
"failFast": true,
"files": [
"test/*.js"
],
"require": [
"babel-register",
"./test/helpers/setup-browser-env.js"
],
"babel": {
"presets": [
"env",
"react"
]
}
}
}