package.json 4.86 KB
Newer Older
Tasso Evangelista's avatar
Tasso Evangelista committed
1
2
{
  "name": "@rocket.chat/fuselage",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
3
  "version": "0.2.0-alpha.18",
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",
Tasso Evangelista's avatar
Tasso Evangelista committed
9
10
  "repository": {
    "type": "git",
11
    "url": "git+https://github.com/RocketChat/Rocket.Chat.Fuselage.git"
Tasso Evangelista's avatar
Tasso Evangelista committed
12
13
  },
  "bugs": {
14
    "url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
Tasso Evangelista's avatar
Tasso Evangelista committed
15
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
16
17
18
19
  "main": "dist/fuselage.js",
  "files": [
    "dist"
  ],
Tasso Evangelista's avatar
Tasso Evangelista committed
20
  "scripts": {
21
22
    "start": "webpack --watch --mode development",
    "build": "webpack --mode production",
Tasso Evangelista's avatar
Tasso Evangelista committed
23
24
    "eslint": "eslint src",
    "stylelint": "stylelint 'src/**/*.scss'",
Tasso Evangelista's avatar
Tasso Evangelista committed
25
26
    "lint": "run-s eslint stylelint",
    "lint-staged": "lint-staged",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
27
    "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
28
    "test:results": "jest --max-workers=1 --json --outputFile=.storybook/jest-results.json",
29
30
31
32
    "loki:test": "loki test --chromeDockerImage=chinello/alpine-chrome:73 --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
    "loki:update": "loki update --chromeDockerImage=chinello/alpine-chrome:73 --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
    "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
33
    "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
34
    "build-storybook": "build-storybook",
35
    "update-storybook": "cross-env NODE_ENV=loki run-s test:results build-storybook loki:update"
Tasso Evangelista's avatar
Tasso Evangelista committed
36
37
  },
  "peerDependencies": {
38
    "@rocket.chat/fuselage-hooks": "^0.2.0-alpha.16",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
39
    "react": "^16.12.0"
Tasso Evangelista's avatar
Tasso Evangelista committed
40
41
  },
  "devDependencies": {
42
    "@babel/core": "^7.4.5",
Tasso Evangelista's avatar
Tasso Evangelista committed
43
44
    "@babel/plugin-transform-runtime": "^7.7.6",
    "@babel/preset-env": "^7.7.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
45
    "@babel/preset-react": "^7.7.4",
46
    "@rocket.chat/eslint-config": "^0.4.0",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
47
    "@rocket.chat/fuselage-hooks": "^0.2.0-alpha.18",
Tasso Evangelista's avatar
Tasso Evangelista committed
48
49
50
51
52
53
54
55
56
57
58
59
    "@storybook/addon-actions": "5.2.8",
    "@storybook/addon-backgrounds": "5.2.8",
    "@storybook/addon-centered": "5.2.8",
    "@storybook/addon-docs": "5.2.8",
    "@storybook/addon-jest": "5.2.8",
    "@storybook/addon-knobs": "5.2.8",
    "@storybook/addon-links": "5.2.8",
    "@storybook/addon-options": "5.2.8",
    "@storybook/addon-viewport": "5.2.8",
    "@storybook/addons": "5.2.8",
    "@storybook/react": "5.2.8",
    "@storybook/theming": "5.2.8",
Tasso Evangelista's avatar
Tasso Evangelista committed
60
    "autoprefixer": "^9.6.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
61
    "babel-eslint": "^10.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
62
    "babel-loader": "^8.0.6",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
63
    "caniuse-lite": "^1.0.30001015",
Tasso Evangelista's avatar
Tasso Evangelista committed
64
65
    "css-vars-ponyfill": "^2.0.2",
    "cssnano": "^4.1.10",
66
    "eslint": "^6.1.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
67
    "eslint-plugin-import": "^2.19.1",
68
    "eslint-plugin-react": "^7.14.3",
69
70
    "fs-extra": "^8.0.1",
    "gh-pages": "^2.0.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
71
    "identity-obj-proxy": "^3.0.0",
72
73
    "jest": "^24.8.0",
    "lerna": "^3.14.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
74
    "lint-staged": "^9.0.1",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
75
    "loki": "^0.16.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
76
77
    "mini-css-extract-plugin": "^0.8.0",
    "normalize.css": "^8.0.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
78
    "npm-run-all": "^4.1.5",
Tasso Evangelista's avatar
Tasso Evangelista committed
79
    "postcss-custom-properties": "^9.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
80
    "postcss-loader": "^3.0.0",
81
    "postcss-logical": "^4.0.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
82
    "prop-types": "^15.7.2",
Guilherme Gazzo's avatar
Guilherme Gazzo committed
83
    "react": "^16.12.0",
84
    "react-dom": "^16.12.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
85
86
    "sass": "^1.23.7",
    "sass-loader": "^8.0.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
87
    "stylelint": "^10.0.1",
88
    "stylelint-order": "^3.0.0",
Tasso Evangelista's avatar
Tasso Evangelista committed
89
    "stylelint-scss": "^3.11.1",
Tasso Evangelista's avatar
Tasso Evangelista committed
90
    "webpack": "^4.41.2",
Tasso Evangelista's avatar
Tasso Evangelista committed
91
    "webpack-bundle-analyzer": "^3.3.2",
92
    "webpack-cli": "^3.3.2"
Tasso Evangelista's avatar
Tasso Evangelista committed
93
94
95
  },
  "jest": {
    "moduleNameMapper": {
Tasso Evangelista's avatar
Tasso Evangelista committed
96
      "\\.(css|scss)$": "<rootDir>/.jest/styleMock.js"
97
98
99
100
    },
    "setupFiles": [
      "<rootDir>/.jest/setup.js"
    ]
Guilherme Gazzo's avatar
Guilherme Gazzo committed
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
  },
  "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
117
118
  },
  "dependencies": {
Guilherme Gazzo's avatar
Guilherme Gazzo committed
119
120
    "@rocket.chat/fuselage-tokens": "^0.2.0-alpha.18",
    "@rocket.chat/icons": "^0.2.0-alpha.18"
Tasso Evangelista's avatar
Tasso Evangelista committed
121
122
123
124
125
126
127
128
129
130
131
132
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
133
134
135
  },
  "publishConfig": {
    "access": "public"
Guilherme Gazzo's avatar
Guilherme Gazzo committed
136
137
  },
  "gitHead": "f8467b8ffb6f90d91b46fbcdd5dca169235916a4"
Tasso Evangelista's avatar
Tasso Evangelista committed
138
}