-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
73 lines (73 loc) · 2.13 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
{
"name": "@kennethormandy/react-flipcard",
"version": "0.4.3",
"author": "Kenneth Ormandy <[email protected]> (https://kennethormandy.com)",
"main": "./lib/Flipcard.js",
"engines": {
"node": ">=6",
"npm": ">=3"
},
"devDependencies": {
"@sambego/storybook-state": "1.0.6",
"@storybook/react": "3.3.12",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-loader": "6.4.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"del-cli": "0.2.0",
"postcss-clean": "1.1.0",
"postcss-cli": "5.0.0",
"prettier": "1.10.2",
"react": "16.2.0",
"react-dom": "16.2.0",
"size-limit": "^0.11.6",
"surge": "0.19.0",
"webpack": "2.4.1",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "2.8.2"
},
"peerDependencies": {
"react": "^16.0.0"
},
"scripts": {
"clean": "./node_modules/.bin/del ./dist/*",
"build-js": "NODE_ENV=production webpack -p; babel src/ --out-dir ./lib/",
"build-css": "postcss --no-map --use autoprefixer -u postcss-clean -d ./dist/ ./src/Flipcard.css",
"prebuild": "mkdir ./dist; npm run clean;",
"build": "npm run build-js; npm run build-css",
"prepublish": "npm run build",
"start": "webpack-dev-server",
"lint": "prettier --write './src/*.{js,jsx}'",
"test": "./node_modules/.bin/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; ./node_modules/.bin/surge ./dist/storybook react-flipcard.kennethormandy.com"
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": true
},
"browserslist": "last 2 versions, safari >= 7",
"babel": {
"presets": [
"env",
"react"
],
"plugins": [
"transform-object-rest-spread"
]
},
"size-limit": [
{
"path": "./dist/Flipcard.js",
"webpack": false,
"limit": "5 KB"
}
]
}