summaryrefslogtreecommitdiff
path: root/@linaria/packages/babel/package.json
blob: a63612cfdfe4c7285982af65d45b609fb406d842 (plain)
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
{
  "name": "@linaria/babel-preset",
  "version": "3.0.0-beta.7",
  "publishConfig": {
    "access": "public"
  },
  "description": "Blazing fast zero-runtime CSS in JS library",
  "main": "lib/index.js",
  "module": "esm/index.js",
  "types": "types",
  "files": [
    "types/",
    "lib/",
    "esm/"
  ],
  "license": "MIT",
  "repository": "git@github.com:callstack/linaria.git",
  "bugs": {
    "url": "https://github.com/callstack/linaria/issues"
  },
  "homepage": "https://github.com/callstack/linaria#readme",
  "keywords": [
    "react",
    "linaria",
    "css",
    "css-in-js",
    "styled-components",
    "babel-plugin",
    "babel"
  ],
  "scripts": {
    "build:lib": "cross-env NODE_ENV=legacy babel src --out-dir lib --extensions '.js,.jsx,.ts,.tsx' --source-maps --delete-dir-on-start",
    "build:esm": "babel src --out-dir esm --extensions '.js,.jsx,.ts,.tsx' --source-maps --delete-dir-on-start",
    "build": "yarn build:lib && yarn build:esm",
    "build:declarations": "tsc --emitDeclarationOnly --outDir types",
    "prepare": "yarn build && yarn build:declarations",
    "test": "jest --config ../../jest.config.js --rootDir .",
    "typecheck": "tsc --noEmit --composite false",
    "watch": "yarn build --watch"
  },
  "devDependencies": {
    "@types/cosmiconfig": "^5.0.3",
    "@types/dedent": "^0.7.0",
    "dedent": "^0.7.0",
    "strip-ansi": "^5.2.0"
  },
  "dependencies": {
    "@babel/generator": ">=7",
    "@babel/plugin-syntax-dynamic-import": ">=7",
    "@babel/template": ">=7",
    "@linaria/core": "^3.0.0-beta.4",
    "@linaria/logger": "^3.0.0-beta.3",
    "cosmiconfig": "^5.1.0",
    "source-map": "^0.7.3",
    "stylis": "^3.5.4"
  },
  "peerDependencies": {
    "@babel/core": ">=7"
  }
}