package.json 4.88 KB
Newer Older
Tasso Evangelista's avatar
Tasso Evangelista committed
1
2
{
  "name": "@rocket.chat/fuselage",
Guilherme Gazzo's avatar
v0.6.1    
Guilherme Gazzo committed
3
  "version": "0.6.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",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
31
    "test": "[ -f .storybook/jest-results.json ] && jest --max-workers=1 || jest --max-workers=1 --json --outputFile=.storybook/jest-results.json",
Tasso Evangelista's avatar
Tasso Evangelista committed
32
    "test:results": "jest --max-workers=1 --json --outputFile=.storybook/jest-results.json",
33
34
    "loki:test": "loki test --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
    "loki:update": "loki update --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
35
36
    "loki:test-ci": "loki test --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
    "loki:update-ci": "loki update --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
37
    "storybook": "[ -f .storybook/jest-results.json ] && start-storybook -p 6006 || ( jest --max-workers=1 --json --outputFile=.storybook/jest-results.json && start-storybook -p 6006 )",
Tasso Evangelista's avatar
Tasso Evangelista committed
38
    "build-storybook": "build-storybook",
39
    "update-storybook": "cross-env NODE_ENV=loki run-s test:results build-storybook loki:update"
Tasso Evangelista's avatar
Tasso Evangelista committed
40
41
  },
  "peerDependencies": {
42
    "@rocket.chat/fuselage-hooks": "^0.3.0",
43
44
    "react": "^16.12.0",
    "react-dom": "^16.12.0"
Tasso Evangelista's avatar
Tasso Evangelista committed
45
  },
46
47
48
49
50
  "dependencies": {
    "@rocket.chat/css-in-js": "^0.6.1",
    "@rocket.chat/fuselage-tokens": "^0.6.1",
    "@rocket.chat/icons": "^0.6.1"
  },
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.6.1    
Guilherme Gazzo committed
57
58
    "@rocket.chat/fuselage-hooks": "^0.6.1",
    "@rocket.chat/fuselage-polyfills": "^0.6.1",
59
60
61
62
63
64
65
66
67
68
69
70
71
    "@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-options": "^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
72
    "autoprefixer": "^9.6.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
73
    "babel-eslint": "^10.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
74
    "babel-loader": "^8.0.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
75
    "caniuse-lite": "^1.0.30001015",
Tasso Evangelista's avatar
Tasso Evangelista committed
76
    "cssnano": "^4.1.10",
77
    "eslint": "^6.1.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
78
    "eslint-plugin-import": "^2.19.1",
79
    "eslint-plugin-react": "^7.14.3",
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",
Tasso Evangelista's avatar
Tasso Evangelista committed
88
    "postcss-loader": "^3.0.0",
89
    "postcss-logical": "^4.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
90
    "prop-types": "^15.7.2",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
91
    "react": "^16.12.0",
92
    "react-dom": "^16.12.0",
93
    "sass": "^1.26.3",
Tasso Evangelista's avatar
Tasso Evangelista committed
94
    "sass-loader": "^8.0.0",
95
96
97
98
99
100
101
    "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
102
103
104
  },
  "jest": {
    "moduleNameMapper": {
Tasso Evangelista's avatar
Tasso Evangelista committed
105
      "\\.(css|scss)$": "<rootDir>/.jest/styleMock.js"
106
107
108
109
    },
    "setupFiles": [
      "<rootDir>/.jest/setup.js"
    ]
Guilherme Gazzo's avatar
Guilherme Gazzo committed
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
  },
  "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
126
  },
127
128
  "publishConfig": {
    "access": "public"
Guilherme Gazzo's avatar
Guilherme Gazzo committed
129
130
  },
  "gitHead": "f8467b8ffb6f90d91b46fbcdd5dca169235916a4"
Tasso Evangelista's avatar
Tasso Evangelista committed
131
}