-
-
Notifications
You must be signed in to change notification settings - Fork 210
/
package.json
126 lines (126 loc) · 3.92 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
{
"name": "polished",
"version": "4.3.1",
"description": "A lightweight toolset for writing styles in Javascript.",
"license": "MIT",
"author": "Brian Hough <hello@brianhough.co> (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",
"color manipulate",
"color manipulation",
"curried color manipulation",
"color",
"colour"
],
"main": "dist/polished.cjs.js",
"module": "dist/polished.esm.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 batch-coverage src/ --show-all --strip-root",
"docs": "pushstate-server -d docs",
"prepare": "yarn build && yarn typescript && husky install",
"semantic-release": "semantic-release"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"eslint --fix"
]
},
"watch": {
"build:docs": "src/**/*.js",
"build:lib": "src/**/*.js"
},
"dependencies": {
"@babel/runtime": "^7.17.8"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^4.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.5.1",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-preval": "5.1.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.1.0",
"documentation": "12.3.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"flow-bin": "^0.133.0",
"flow-copy-source": "^2.0.8",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"npm-watch": "^0.11.0",
"prettier": "^3.2.4",
"pushstate-server": "^3.1.0",
"ramda": "^0.29.1",
"rollup": "^2.70.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^19.0.2",
"shx": "^0.3.4",
"tsgen": "1.3.0",
"typescript": "4.6.3",
"validate-commit-msg": "^2.14.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"testURL": "http://localhost/",
"verbose": true,
"testEnvironment": "jsdom"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/polished"
},
"engines": {
"node": ">=10"
}
}