/
package.json
85 lines (85 loc) · 2.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
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
{
"name": "@linaria/core",
"version": "6.2.0",
"description": "Blazing fast zero-runtime CSS in JS library",
"keywords": [
"css",
"css-in-js",
"linaria",
"react",
"styled-components"
],
"homepage": "https://github.com/callstack/linaria#readme",
"bugs": "https://github.com/callstack/linaria/issues",
"repository": "git@github.com:callstack/linaria.git",
"license": "MIT",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"./*": {
"types": "./types/*.d.ts",
"import": "./dist/*.mjs",
"default": "./dist/*.js"
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "types/index.d.ts",
"typesVersions": {
"*": {
"processors/*": [
"./types/processors/*.d.ts"
]
}
},
"files": [
"dist/",
"processors/",
"types/"
],
"wyw-in-js": {
"tags": {
"css": "./dist/processors/css.js"
}
},
"scripts": {
"build": "pnpm build:dist && pnpm build:declarations",
"build:corejs-test": "cross-env NODE_ENV=legacy babel src --out-dir lib --extensions '.js,.jsx,.ts,.tsx' --ignore \"src/processors/**/*\"",
"build:declarations": "tsc --emitDeclarationOnly --outDir types",
"build:dist": "tsup --format cjs,esm",
"test": "jest --config ../../jest.config.js --rootDir .",
"test:dts": "dtslint --localTs ../../node_modules/typescript/lib __dtslint__",
"typecheck": "tsc --noEmit --composite false",
"watch": "pnpm build:dist --watch & pnpm build:declarations --watch"
},
"dependencies": {
"@wyw-in-js/processor-utils": "^0.5.3"
},
"devDependencies": {
"@babel/traverse": "^7.23.5",
"@babel/types": "^7.23.5",
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.20.4",
"@types/node": "^17.0.39"
},
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
},
"tsup": {
"entry": [
"src/index.ts",
"src/processors/css.ts"
],
"splitting": false,
"sourcemap": true,
"clean": true
}
}