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