-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.02 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.02 KB
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
76
77
78
79
80
81
82
83
{
"name": "react-storefront-analytics",
"version": "1.1.4",
"license": "Apache-2.0",
"repository": "https://github.com/storefront-foundation/react-storefront-analytics",
"bugs": "https://github.com/storefront-foundation/react-storefront-analytics/issues",
"description": "Analytics for React Storefront",
"main": "index.js",
"directories": {
"test": "test"
},
"watch": {
"push-build": {
"patterns": [
"src"
],
"extensions": "js",
"quiet": false
}
},
"scripts": {
"release": "npm run build; cd dist; npm publish; cd ..",
"test": "jest",
"watch": "npm-watch",
"push-build": "npm run build && cd dist && yalc push && cd ..",
"build": "rm -rf dist && mkdir dist && cp package.json dist && babel src -d dist --source-maps --copy-files"
},
"dependencies": {
"tti-polyfill": "^0.2.2",
"web-vitals": "^0.2.2"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"babel-loader": "^8.0.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"jest": "^24.9.0",
"jest-enzyme": "^7.1.2",
"jest-fetch-mock": "^2.1.2",
"jsdom": "^15.2.1",
"next": "^9.1.6",
"npm-watch": "^0.6.0",
"prettier": "^1.19.1",
"prop-types": "^15.7.2",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependencies": {
"next": "^9.1.6"
},
"babel": {
"presets": [
"@babel/env",
"@babel/preset-react"
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"regenerator": true
}
]
]
},
"jest": {
"clearMocks": true,
"testEnvironment": "./test/config/jsdom.js",
"setupFiles": [
"./test/config/setup.js"
],
"setupFilesAfterEnv": [
"./node_modules/jest-enzyme/lib/index.js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**/*.{js,jsx}"
]
}
}