-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
64 lines (64 loc) · 2.15 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
{
"name": "disqus-react",
"version": "1.1.5",
"description": "Official React components to embed Disqus discussions and comments.",
"repository": {
"type": "git",
"url": "https://github.com/disqus/disqus-react.git"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
"files": [
"dist",
"lib",
"types"
],
"scripts": {
"start": "webpack-dev-server --config config/webpack.examples.config.js --hot --progress --colors",
"build:example": "webpack --config config/webpack.examples.config.js --progress --colors",
"build:dist": "webpack --config config/webpack.dist.config.js --progress --colors && uglifyjs dist/index.js -cm -o dist/index.min.js --source-map content=dist/index.js.map,url=index.min.js.map",
"build:babel": "babel src --out-dir lib",
"build": "npm run build:example && npm run build:dist && npm run build:babel",
"lint": "eslint src/* tests/*",
"test": "jest --config=./config/jest.config.js",
"prepublish": "npm run build",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
},
"author": "Ryan Valentin",
"license": "MIT",
"peerDependencies": {
"react": "^15.6.1 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^15.6.1 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-transform-spread": "^7.10.1",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@testing-library/jest-dom": "^5.0.0",
"@testing-library/react": "^9.4.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.1.0",
"eslint": "^6.8.0",
"eslint-plugin-react": "^7.19.0",
"jest": "^24.9.0",
"prop-types": "^15.7.2",
"react": "^15.6.2",
"react-dom": "^15.6.2",
"uglify-js": "^3.9.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"standard": {
"parser": "babel-eslint"
},
"jest": {
"roots": [
"src"
]
},
"dependencies": {}
}