-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
75 lines (75 loc) · 2.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "acom-review-component",
"version": "2.0.7",
"url": "https://github.com/adobe/acom-reviews",
"repository": {
"type": "git",
"url": "https://github.com/adobe/acom-reviews.git"
},
"description": "A collection of components used to populate product review information on adobe.com.",
"source": "src/main.js",
"main": "dist/main.js",
"hlx": "hlx.js",
"targets": {
"hlx": {
"engines": {
"browsers": "defaults"
}
}
},
"browserslist": [ "defaults", "IE 11" ],
"dependencies": {
"@swc/helpers": "^0.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@parcel/transformer-less": "^2.2.1",
"@testing-library/dom": "^7.29.2",
"@testing-library/jest-dom": "^5.11.8",
"@testing-library/react": "^11.2.3",
"@testing-library/user-event": "^12.6.0",
"babel-jest": "^27.2.0",
"eslint": "^7.17.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.2.0",
"less": "^4.1.0",
"onchange": "^7.1.0",
"parcel": "^2.2.1",
"prettier": "^2.2.1",
"typescript": "^4.1.3"
},
"scripts": {
"dev": "parcel ./src/index.html",
"build": "npm run test && parcel build",
"hlx-build-only": "npm run test && parcel build ./src/scripts.js",
"hlx": "parcel build ./src/scripts.js && hlx up",
"lint": "eslint src/ --fix",
"prepublishOnly": "npm run test && parcel build ./src/main.js",
"prettier": "prettier --write src",
"prettier-watch": "onchange \"src/**/*\" -- prettier --write --ignore-unknown {{changed}}",
"test": "npm run prettier && npm run lint && jest",
"test-watch": "jest --watch"
},
"jest": {
"setupFilesAfterEnv": [
"./jest.setup.js"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.jsx?$": "./jest.transform.js"
}
},
"author": "",
"license": "Apache-2.0"
}