-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.02 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
{
"name": "emotion-sanitize",
"description": "Sanitize.css ready to be used with Emotion CSS-in-JS API.",
"version": "12.0.2",
"main": "build/index.js",
"module": "build/esm/index.js",
"types": "build/index.d.ts",
"repository": "git@gitlab.com:fluffy-heinzelman/emotion-sanitize.git",
"homepage": "https://gitlab.com/fluffy-heinzelman/emotion-sanitize",
"bugs": {
"url": "https://gitlab.com/fluffy-heinzelman/emotion-sanitize/-/issues"
},
"author": "Micha Meyer <heinzelman.code@gmail.com>",
"license": "MIT",
"private": false,
"keywords": [
"react",
"emotion",
"sanitize",
"normalize",
"styles",
"css",
"css-reset"
],
"scripts": {
"update": "yarn upgrade sanitize.css --latest",
"transform": "node ./bin/transform.js",
"prebuild": "rimraf build",
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ./babel.config.js ./src --extensions '.ts,.tsx' --out-dir ./build",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ./babel.config.js ./src --extensions '.ts,.tsx' --out-dir ./build/esm",
"postbuild": "yarn run type:declaration",
"preversion": "yarn run transform && yarn run build && yarn run type:check",
"postversion": "git push origin master --tags && yarn publish --non-interactive",
"type:check": "tsc",
"type:declaration": "tsc -p ./tsconfig.declaration.json"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@emotion/react": ">=11.0.0",
"@types/react": "^16.9.29",
"babel-plugin-emotion": "^10.0.29",
"cross-env": "^7.0.2",
"cssbeautify": "^0.3.1",
"lodash-es": "^4.17.20",
"react": "^16.13.1",
"rimraf": "^3.0.2",
"sanitize.css": "12.0.1",
"typescript": "^3.8.3"
},
"peerDependencies": {
"@emotion/react": ">=11.0.0",
"react": ">=16.3.0"
}
}