-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
76 lines (76 loc) · 2.31 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
76
{
"name": "react-jwt-auth",
"version": "0.6.0",
"devEngines": {
"node": "4.x || 5.x || 6.x",
"npm": "2.x || 3.x"
},
"description": "JSON Web Token authentication and authorization component for React",
"repository": {
"type": "git",
"url": "https://github.com/fullstackforger/react-jwt-auth"
},
"files": [
"package.json",
"lib",
"README"
],
"main": "lib/cjs/index",
"jsnext:main": "lib/es6/index",
"scripts": {
"build": "npm run build:cjs && npm run build:es",
"build:cjs": "rimraf lib && cross-env BABEL_ENV=cjs && babel ./src -d lib/cjs --ignore **/*.spec.*",
"build:es": "rimraf es6 && cross-env BABEL_ENV=es babel ./src -d lib/es6 --ignore **/*.spec.*",
"prebuild": "npm test",
"prepublish": "npm run build",
"preversion": "npm test",
"postversion": "git push && git push --tags",
"test": "npm run test:mocha",
"test:clean": "rimraf coverage .nyc_output",
"test:mocha": "mocha ./internals/test.setup.js ./src/**/*.spec.js ./src/**/*.spec.jsx --require babel-core/register",
"test:watch": "npm run test:mocha -- --watch --reporter=min",
"test:cover": "npm run test:clean && nyc npm run test:mocha -- --reporter=dot",
"test:cover:check": "nyc check-coverage --lines 95 --functions 95 --branches 95",
"test:cover:report": "nyc report --reporter=lcov",
"test:coverage": "npm run test:cover && npm run test:cover:report && npm run test:cover:check",
"test:coveralls": "npm run test:cover && nyc report --reporter=text-lcov | coveralls"
},
"keywords": [
"react",
"auth",
"jwt",
"authentication",
"token",
"component"
],
"author": "",
"license": "MIT",
"dependencies": {
"enverse": "^0.2.3"
},
"peerDependencies": {
"react": "^15.3.2"
},
"devDependencies": {
"atob": "^2.0.3",
"babel-cli": "^6.16.0",
"babel-core": "^6.17.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"chai": "^3.5.0",
"coveralls": "^2.11.14",
"cross-env": "^3.1.3",
"enzyme": "^2.5.1",
"fetch-mock": "^5.5.0",
"istanbul": "^0.4.5",
"jsdom": "^9.8.0",
"mocha": "^3.1.2",
"nuc": "^0.3.2",
"nyc": "^8.3.2",
"react": "^15.3.2",
"react-addons-test-utils": "^15.3.2",
"react-dom": "^15.3.2",
"rimraf": "^2.5.4",
"sinon": "^1.17.6"
}
}