forked from styled-components/polished
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.17 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "polished",
"version": "3.3.0",
"description": "A lightweight toolset for writing styles in Javascript.",
"license": "MIT",
"author": "Brian Hough <[email protected]> (https://polished.js.org)",
"homepage": "https://polished.js.org",
"bugs": "https://github.com/styled-components/polished/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/styled-components/polished.git"
},
"keywords": [
"styled-components",
"polished",
"emotion",
"glamor",
"css-in-js",
"inline-styles",
"react",
"flow",
"typescript"
],
"main": "lib/index.js",
"module": "dist/polished.es.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "yarn build:lib && yarn build:dist && yarn build:flow && yarn build:docs && yarn build:typescript",
"prebuild:lib": "shx rm -rf lib/*",
"build:lib": "cross-env BABEL_ENV=cjs babel --out-dir lib src --ignore test.js",
"prebuild:umd": "shx rm -rf dist/*",
"prebuild:dist": "shx rm -rf dist/*",
"build:dist": "rollup -c",
"build:docs": "yarn build:docs:site",
"prebuild:docs:site": "shx rm -rf docs/*",
"build:docs:site": "documentation build src/** -t docs-theme --github -o docs -f html -c ./.documentation.json",
"postbuild:docs:site": "shx cp CNAME docs/CNAME && shx cp dist/polished.js docs/assets/",
"build:watch": "npm-watch",
"build:flow": "flow-copy-source -v -i '{**/test/*.js,**/*.test.js}' src lib",
"build:typescript": "tsgen \"lib/**/*.js.flow\" --ignore \"lib/**/_*.js.flow\"",
"test": "jest src",
"typescript": "tsc ./typescript-test.ts --noEmit --target es6 --module es2015 --moduleResolution node --allowJs",
"lint": "eslint src",
"flow": "flow check && flow-coverage-report -i 'src/**/!(*.test).js'",
"docs": "pushstate-server docs",
"prepare": "yarn build && yarn typescript",
"semantic-release": "semantic-release"
},
"lint-staged": {
"src/**/!(*.test).js": [
"prettier --no-semi --single-quote --trailing-comma all --write",
"eslint --fix",
"git add"
],
"src/**/*.test.js": [
"prettier --no-semi --single-quote --trailing-comma all --write",
"eslint --fix",
"git add"
]
},
"watch": {
"build:docs": "src/**/*.js",
"build:lib": "src/**/*.js"
},
"dependencies": {
"@babel/runtime": "^7.4.4"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-flow": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-preval": "3.0.1",
"concat-stream": "^2.0.0",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"documentation": "9.3.1",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.2",
"flow-bin": "^0.98.0",
"flow-copy-source": "^2.0.4",
"flow-coverage-report": "^0.6.1",
"husky": "^2.2.0",
"jest": "^24.7.1",
"lint-staged": "^8.1.6",
"lodash": "^4.17.11",
"npm-watch": "^0.6.0",
"prettier": "^1.17.0",
"pushstate-server": "3.1.0",
"ramda": "^0.26.1",
"rollup": "^1.11.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^15.13.3",
"shx": "^0.3.2",
"tsgen": "1.3.0",
"typescript": "3.4.5",
"validate-commit-msg": "^2.14.0",
"vinyl": "^2.2.0",
"vinyl-fs": "^3.0.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"testURL": "http://localhost/",
"verbose": true
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/polished"
},
"husky": {
"hooks": {
"post-commit": "validate-commit-msg",
"pre-commit": "lint-staged --debug"
}
}
}