Fakultas Ilmu Komputer UI

package.json 2.67 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
14
15
16
17
18
19
20
21
22
23
    "@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",
    "moment": "^2.24.0",
    "moment-timezone": "^0.5.28",
    "popper.js": "^1.16.1",
    "react": "^16.13.1",
    "react-bootstrap": "^1.0.1",
    "react-dom": "^16.13.1",
    "react-hook-form": "^5.6.0",
    "react-moment": "^0.9.7",
    "react-number-format": "^4.4.1",
    "react-promise-tracker": "^2.1.0"
WILLIAM GATES's avatar
WILLIAM GATES committed
24
25
26
  },
  "scripts": {
    "start": "parcel public/index.html",
27
    "build": "parcel build public/index.html --experimental-scope-hoisting",
WILLIAM GATES's avatar
WILLIAM GATES committed
28
29
    "test": "jest",
    "test:coverage": "jest --coverage",
WILLIAM GATES's avatar
WILLIAM GATES committed
30
    "lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
WILLIAM GATES's avatar
WILLIAM GATES committed
31
32
33
34
35
36
37
    "format": "prettier --write \"src/**/*.{js,jsx}\""
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
38
39
40
      "last 3 chrome version",
      "last 3 firefox version",
      "last 3 safari version"
WILLIAM GATES's avatar
WILLIAM GATES committed
41
42
43
44
45
46
47
48
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
49
50
51
52
53
54
55
56
57
58
59
    "@babel/core": "^7.9.0",
    "@babel/preset-env": "^7.9.5",
    "@babel/preset-react": "^7.9.4",
    "@testing-library/dom": "^7.2.2",
    "@testing-library/react": "^10.0.3",
    "@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",
    "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
66
67
68
69
70
    "eslint-plugin-react": "^7.19.0",
    "eslint-plugin-react-hooks": "^2.5.1",
    "jest": "^25.4.0",
    "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",
WILLIAM GATES's avatar
WILLIAM GATES committed
73
    "parcel-bundler": "^1.12.4",
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
  }
}