This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
67 lines (67 loc) · 2.38 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
{
"name": "@amplitude/react-amplitude",
"version": "1.0.0",
"description": "A React component library for easy product analytics instrumentation",
"homepage": "https://github.com/amplitude/react-amplitude",
"main": "dist/commonjs/index.js",
"module": "dist/es/index.js",
"jsnext:main": "dist/es/index.js",
"scripts": {
"build:commonjs": "yarn run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs",
"build:es": "yarn run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es",
"build:umd": "yarn run clean:umd && cross-env NODE_ENV=production webpack --config webpack.config.js --bail",
"build": "yarn run build:commonjs && yarn run build:es && yarn run build:umd",
"clean:commonjs": "rimraf dist/commonjs",
"clean:coverage": "rimraf coverage",
"clean:es": "rimraf dist/es",
"clean:umd": "rimraf dist/umd",
"clean": "yarn run clean:commonjs && yarn run clean:es && yarn run clean:umd",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"prebuild": "yarn run lint",
"lint": "eslint src --fix",
"test:cov": "cross-env NODE_ENV=test nyc yarn test",
"test": "mocha --require @babel/register --reporter spec test/**/*.test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/amplitude/react-amplitude.git"
},
"keywords": [
"analytics",
"react",
"amplitude"
],
"author": "Ryan Ashcraft <ryan@amplitude.com>",
"license": "MIT",
"dependencies": {
"lodash.debounce": "^4.0.8",
"shallowequal": "^1.0.2"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-rc || ^17.0.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.4.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-loader": "7.1.1",
"chai": "^3.5.0",
"codecov": "^3.5.0",
"cross-env": "^1.0.7",
"eslint": "^5.16.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-prettier": "^2.0.1",
"eslint-plugin-react": "^6.1.1",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"prettier": "^1.3.1",
"react": "^16.0.0",
"rimraf": "^2.4.3",
"webpack": "3.0.0"
}
}