Fakultas Ilmu Komputer UI

package.json 1.59 KB
Newer Older
WILLIAM GATES's avatar
WILLIAM GATES committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "name": "home-industry",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@reach/router": "^1.3.1",
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-scripts": "3.3.1"
  },
  "scripts": {
    "start": "parcel public/index.html",
    "build": "parcel build public/index.html",
    "test": "jest",
    "test:coverage": "jest --coverage",
WILLIAM GATES's avatar
WILLIAM GATES committed
16
    "lint": "eslint \"src/**/*.{js,jsx}\" --quiet",
WILLIAM GATES's avatar
WILLIAM GATES committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
    "format": "prettier --write \"src/**/*.{js,jsx}\""
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@babel/core": "^7.8.4",
    "@babel/preset-env": "^7.8.4",
    "@babel/preset-react": "^7.8.3",
    "@testing-library/react": "^9.4.0",
    "@types/jest": "^25.1.2",
    "babel-eslint": "^10.0.3",
    "eslint": "^6.8.0",
    "eslint-config-prettier": "^6.10.0",
    "eslint-plugin-import": "^2.20.1",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-react": "^7.18.3",
    "eslint-plugin-react-hooks": "^2.3.0",
    "jest": "^25.1.0",
WILLIAM GATES's avatar
WILLIAM GATES committed
48
    "jest-sonar-reporter": "^2.0.0",
WILLIAM GATES's avatar
WILLIAM GATES committed
49
50
51
52
53
54
55
    "parcel-bundler": "^1.12.4",
    "prettier": "^1.19.1"
  },
  "jest": {
    "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
56
57
    },
    "testResultsProcessor": "jest-sonar-reporter"
WILLIAM GATES's avatar
WILLIAM GATES committed
58
59
  }
}