-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
45 lines (45 loc) · 1.15 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
{
"name": "design-units",
"version": "0.2.0",
"description": "Design system utils for emotion, styled-components and other css-in-js libraries",
"main": "dist/index.js",
"files": [
"dist/*"
],
"scripts": {
"size": "bundlesize",
"test": "jest --watch",
"test-cov": "jest --coverage",
"open-cov": "open coverage/lcov-report/index.html",
"prettier": "prettier --write src/*.js",
"prepublish": "npm run build && npm run build:min && npm run size",
"build": "mkdir -p dist && babel src/index.js -o dist/index.js",
"build:min": "uglifyjs dist/index.js > dist/index.min.js"
},
"keywords": [
"design system",
"emotion",
"styled-components"
],
"author": "Roman Lyashov",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/romanlv/design-units.git"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"bundlesize": "^0.18.0",
"jest": "^24.9.0",
"prettier": "^2.0.5",
"uglify-js": "^3.9.4"
},
"bundlesize": [
{
"path": "dist/*.min.js",
"maxSize": "1 kB"
}
]
}