package.json 4.33 KB
Newer Older
Tasso Evangelista's avatar
Tasso Evangelista committed
1
2
{
  "name": "@rocket.chat/fuselage",
Guilherme Gazzo's avatar
v0.7.1    
Guilherme Gazzo committed
3
  "version": "0.7.1",
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
    "update-storybook": "cross-env NODE_ENV=loki run-s build-storybook loki:update"
Tasso Evangelista's avatar
Tasso Evangelista committed
38
39
  },
  "peerDependencies": {
40
    "@rocket.chat/fuselage-hooks": "^0.3.0",
41
42
    "react": "^16.12.0",
    "react-dom": "^16.12.0"
Tasso Evangelista's avatar
Tasso Evangelista committed
43
  },
44
  "dependencies": {
Guilherme Gazzo's avatar
v0.7.1    
Guilherme Gazzo committed
45
46
47
    "@rocket.chat/css-in-js": "^0.7.1",
    "@rocket.chat/fuselage-tokens": "^0.7.1",
    "@rocket.chat/icons": "^0.7.1"
48
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
49
  "devDependencies": {
50
    "@babel/core": "^7.4.5",
Tasso Evangelista's avatar
Tasso Evangelista committed
51
52
    "@babel/plugin-transform-runtime": "^7.7.6",
    "@babel/preset-env": "^7.7.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
53
    "@babel/preset-react": "^7.7.4",
54
    "@rocket.chat/eslint-config": "^0.4.0",
Guilherme Gazzo's avatar
v0.7.1    
Guilherme Gazzo committed
55
56
    "@rocket.chat/fuselage-hooks": "^0.7.1",
    "@rocket.chat/fuselage-polyfills": "^0.7.1",
57
58
59
60
61
62
63
64
65
66
67
68
    "@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
69
    "autoprefixer": "^9.6.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
70
    "babel-eslint": "^10.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
71
    "babel-loader": "^8.0.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
72
    "caniuse-lite": "^1.0.30001015",
Tasso Evangelista's avatar
Tasso Evangelista committed
73
    "cssnano": "^4.1.10",
74
    "eslint": "^6.1.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
75
    "eslint-plugin-import": "^2.19.1",
76
    "eslint-plugin-react": "^7.14.3",
77
    "eslint-plugin-react-hooks": "^3.0.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
78
    "identity-obj-proxy": "^3.0.0",
79
80
81
82
    "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
83
    "normalize.css": "^8.0.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
84
    "npm-run-all": "^4.1.5",
85
    "postcss-custom-properties": "^9.1.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
86
    "postcss-loader": "^3.0.0",
87
    "postcss-logical": "^4.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
88
    "prop-types": "^15.7.2",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
89
    "react": "^16.12.0",
90
    "react-dom": "^16.12.0",
91
    "sass": "^1.26.3",
Tasso Evangelista's avatar
Tasso Evangelista committed
92
    "sass-loader": "^8.0.0",
93
94
95
96
97
98
99
    "style-loader": "^1.1.3",
    "stylelint": "^13.2.1",
    "stylelint-order": "^4.0.0",
    "stylelint-scss": "^3.16.0",
    "webpack": "^4.42.0",
    "webpack-bundle-analyzer": "^3.6.1",
    "webpack-cli": "^3.3.11"
Tasso Evangelista's avatar
Tasso Evangelista committed
100
101
102
  },
  "jest": {
    "moduleNameMapper": {
Tasso Evangelista's avatar
Tasso Evangelista committed
103
      "\\.(css|scss)$": "<rootDir>/.jest/styleMock.js"
104
105
106
107
    },
    "setupFiles": [
      "<rootDir>/.jest/setup.js"
    ]
Guilherme Gazzo's avatar
Guilherme Gazzo committed
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
  },
  "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
124
  },
125
126
  "publishConfig": {
    "access": "public"
Guilherme Gazzo's avatar
Guilherme Gazzo committed
127
128
  },
  "gitHead": "f8467b8ffb6f90d91b46fbcdd5dca169235916a4"
Tasso Evangelista's avatar
Tasso Evangelista committed
129
}