package.json 4.47 KB
Newer Older
Tasso Evangelista's avatar
Tasso Evangelista committed
1
2
{
  "name": "@rocket.chat/fuselage",
Guilherme Gazzo's avatar
v0.9.0    
Guilherme Gazzo committed
3
  "version": "0.9.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
4
  "author": {
Tasso Evangelista's avatar
Tasso Evangelista committed
5
6
7
    "name": "Rocket.Chat",
    "url": "https://rocket.chat/"
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
8
  "license": "MIT",
9
  "homepage": "https://github.com/RocketChat/Rocket.Chat.Fuselage#readme",
Tasso Evangelista's avatar
Tasso Evangelista committed
10
11
  "repository": {
    "type": "git",
12
    "url": "git+https://github.com/RocketChat/Rocket.Chat.Fuselage.git"
Tasso Evangelista's avatar
Tasso Evangelista committed
13
14
  },
  "bugs": {
15
    "url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
Tasso Evangelista's avatar
Tasso Evangelista committed
16
  },
17
  "main": "index.js",
Tasso Evangelista's avatar
Tasso Evangelista committed
18
  "files": [
19
    "index.js",
Tasso Evangelista's avatar
Tasso Evangelista committed
20
21
    "dist"
  ],
Tasso Evangelista's avatar
Tasso Evangelista committed
22
  "scripts": {
23
    "start": "webpack --watch --mode development",
24
25
26
    "build:prod": "webpack --mode production",
    "build:dev": "webpack --mode development",
    "build": "run-p build:prod build:dev",
Tasso Evangelista's avatar
Tasso Evangelista committed
27
28
    "eslint": "eslint src",
    "stylelint": "stylelint 'src/**/*.scss'",
Tasso Evangelista's avatar
Tasso Evangelista committed
29
30
    "lint": "run-s eslint stylelint",
    "lint-staged": "lint-staged",
31
    "test": "jest --max-workers=1",
32
    "loki:test": "loki test --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
33
    "loki:test-ci": "loki test --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
34
35
    "loki:update": "loki update --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
    "storybook": "start-storybook -p 6006",
Tasso Evangelista's avatar
Tasso Evangelista committed
36
    "build-storybook": "build-storybook",
37
    "build-storybook:loki": "cross-env NODE_ENV=loki build-storybook",
38
    "update-storybook": "cross-env NODE_ENV=loki run-s build-storybook loki:update"
Tasso Evangelista's avatar
Tasso Evangelista committed
39
40
  },
  "peerDependencies": {
41
    "@rocket.chat/fuselage-hooks": "^0.3.0",
42
43
    "react": "^16.12.0",
    "react-dom": "^16.12.0"
Tasso Evangelista's avatar
Tasso Evangelista committed
44
  },
45
  "dependencies": {
Guilherme Gazzo's avatar
v0.9.0    
Guilherme Gazzo committed
46
47
48
    "@rocket.chat/css-in-js": "^0.9.0",
    "@rocket.chat/fuselage-tokens": "^0.9.0",
    "@rocket.chat/icons": "^0.9.0",
49
    "invariant": "^2.2.4"
50
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
51
  "devDependencies": {
52
    "@babel/core": "^7.4.5",
Tasso Evangelista's avatar
Tasso Evangelista committed
53
54
    "@babel/plugin-transform-runtime": "^7.7.6",
    "@babel/preset-env": "^7.7.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
55
    "@babel/preset-react": "^7.7.4",
56
    "@rocket.chat/eslint-config": "^0.4.0",
Guilherme Gazzo's avatar
v0.9.0    
Guilherme Gazzo committed
57
58
    "@rocket.chat/fuselage-hooks": "^0.9.0",
    "@rocket.chat/fuselage-polyfills": "^0.9.0",
59
60
61
62
63
64
65
66
67
68
69
70
    "@storybook/addon-actions": "^5.3.17",
    "@storybook/addon-backgrounds": "^5.3.17",
    "@storybook/addon-centered": "^5.3.17",
    "@storybook/addon-docs": "^5.3.17",
    "@storybook/addon-jest": "^5.3.17",
    "@storybook/addon-knobs": "^5.3.17",
    "@storybook/addon-links": "^5.3.17",
    "@storybook/addon-viewport": "^5.3.17",
    "@storybook/addons": "^5.3.17",
    "@storybook/react": "^5.3.17",
    "@storybook/source-loader": "^5.3.17",
    "@storybook/theming": "^5.3.17",
Tasso Evangelista's avatar
Tasso Evangelista committed
71
    "autoprefixer": "^9.6.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
72
    "babel-eslint": "^10.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
73
    "babel-loader": "^8.0.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
74
    "caniuse-lite": "^1.0.30001015",
Tasso Evangelista's avatar
Tasso Evangelista committed
75
    "cssnano": "^4.1.10",
76
    "eslint": "^6.1.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
77
    "eslint-plugin-import": "^2.19.1",
78
    "eslint-plugin-react": "^7.14.3",
79
    "eslint-plugin-react-hooks": "^3.0.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
80
    "identity-obj-proxy": "^3.0.0",
81
82
83
84
    "jest": "^25.1.0",
    "lint-staged": "^10.0.8",
    "loki": "^0.20.1",
    "mini-css-extract-plugin": "^0.9.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
85
    "normalize.css": "^8.0.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
86
    "npm-run-all": "^4.1.5",
87
    "postcss-custom-properties": "^9.1.1",
88
    "postcss-dir-pseudo-class": "^5.0.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
89
    "postcss-loader": "^3.0.0",
90
    "postcss-logical": "^4.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
91
    "prop-types": "^15.7.2",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
92
    "react": "^16.12.0",
93
    "react-dom": "^16.12.0",
94
    "sass": "^1.26.3",
Tasso Evangelista's avatar
Tasso Evangelista committed
95
    "sass-loader": "^8.0.0",
96
97
98
    "style-loader": "^1.1.3",
    "stylelint": "^13.2.1",
    "stylelint-order": "^4.0.0",
99
    "stylelint-scss": "^3.17.0",
100
101
102
    "webpack": "^4.42.0",
    "webpack-bundle-analyzer": "^3.6.1",
    "webpack-cli": "^3.3.11"
Tasso Evangelista's avatar
Tasso Evangelista committed
103
104
105
  },
  "jest": {
    "moduleNameMapper": {
Tasso Evangelista's avatar
Tasso Evangelista committed
106
      "\\.(css|scss)$": "<rootDir>/.jest/styleMock.js"
107
108
109
110
    },
    "setupFiles": [
      "<rootDir>/.jest/setup.js"
    ]
Guilherme Gazzo's avatar
Guilherme Gazzo committed
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
  },
  "loki": {
    "configurations": {
      "chrome.laptop": {
        "target": "chrome.docker",
        "width": 1366,
        "height": 768,
        "deviceScaleFactor": 1,
        "mobile": false,
        "fitWindow": false
      },
      "chrome.iphone7": {
        "target": "chrome.docker",
        "preset": "iPhone 7"
      }
    }
Tasso Evangelista's avatar
Tasso Evangelista committed
127
  },
128
129
  "publishConfig": {
    "access": "public"
Guilherme Gazzo's avatar
Guilherme Gazzo committed
130
131
  },
  "gitHead": "f8467b8ffb6f90d91b46fbcdd5dca169235916a4"
Tasso Evangelista's avatar
Tasso Evangelista committed
132
}