Fakultas Ilmu Komputer UI

package.json 2.7 KB
Newer Older
WILLIAM GATES's avatar
WILLIAM GATES committed
1
2
3
4
5
{
  "name": "home-industry",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
6
7
8
9
10
11
12
13
    "@emotion/babel-preset-css-prop": "^10.0.27",
    "@emotion/core": "^10.0.28",
    "@emotion/styled": "^10.0.27",
    "@material-ui/core": "^4.9.11",
    "@material-ui/icons": "^4.9.1",
    "@reach/router": "^1.3.3",
    "bootstrap": "^4.4.1",
    "jquery": "^3.5.0",
14
    "moment": "2.24.0",
15
16
17
18
    "moment-timezone": "^0.5.28",
    "popper.js": "^1.16.1",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
19
    "react-hook-form": "^5.6.1",
20
21
22
    "react-moment": "^0.9.7",
    "react-number-format": "^4.4.1",
    "react-promise-tracker": "^2.1.0"
WILLIAM GATES's avatar
WILLIAM GATES committed
23
24
  },
  "scripts": {
25
26
    "start": "cross-env REACT_APP_BASE_URL=https://industripilar-staging.herokuapp.com parcel public/index.html",
    "build": "parcel build public/index.html",
WILLIAM GATES's avatar
WILLIAM GATES committed
27
28
    "test": "jest",
    "test:coverage": "jest --coverage",
WILLIAM GATES's avatar
WILLIAM GATES committed
29
    "lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
WILLIAM GATES's avatar
WILLIAM GATES committed
30
31
32
33
34
35
36
    "format": "prettier --write \"src/**/*.{js,jsx}\""
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
37
38
39
      "last 3 chrome version",
      "last 3 firefox version",
      "last 3 safari version"
WILLIAM GATES's avatar
WILLIAM GATES committed
40
41
42
43
44
45
46
47
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
48
49
    "@babel/core": "^7.9.6",
    "@babel/preset-env": "^7.9.6",
50
51
    "@babel/preset-react": "^7.9.4",
    "@testing-library/dom": "^7.2.2",
52
    "@testing-library/react": "^10.0.4",
53
54
55
56
    "@types/jest": "^25.2.1",
    "babel-eslint": "^10.1.0",
    "babel-plugin-emotion": "^10.0.33",
    "babel-plugin-transform-inline-environment-variables": "^0.4.3",
57
    "cross-env": "^7.0.2",
58
59
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
WILLIAM GATES's avatar
WILLIAM GATES committed
60
    "eslint": "^6.8.0",
61
62
63
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-emotion": "^10.0.27",
    "eslint-plugin-import": "^2.20.2",
WILLIAM GATES's avatar
WILLIAM GATES committed
64
    "eslint-plugin-jsx-a11y": "^6.2.3",
65
    "eslint-plugin-react": "^7.19.0",
66
67
    "eslint-plugin-react-hooks": "^4.0.0",
    "jest": "^25.5.4",
68
69
70
    "jest-environment-enzyme": "^7.1.2",
    "jest-enzyme": "^7.1.2",
    "jest-fetch-mock": "^3.0.3",
WILLIAM GATES's avatar
WILLIAM GATES committed
71
    "jest-sonar-reporter": "^2.0.0",
72
    "mutationobserver-shim": "^0.3.5",
73
    "parcel": "^2.0.0-alpha.3.2",
74
75
    "prettier": "^2.0.5",
    "regenerator-runtime": "^0.13.5"
WILLIAM GATES's avatar
WILLIAM GATES committed
76
77
  },
  "jest": {
78
79
80
81
82
    "setupFilesAfterEnv": [
      "jest-enzyme",
      "<rootDir>/src/__test__/setup-jest.js"
    ],
    "testEnvironment": "enzyme",
WILLIAM GATES's avatar
WILLIAM GATES committed
83
84
85
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
      "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
WILLIAM GATES's avatar
WILLIAM GATES committed
86
87
    },
    "testResultsProcessor": "jest-sonar-reporter"
WILLIAM GATES's avatar
WILLIAM GATES committed
88
89
  }
}