UNPKG

2.53 kBJSONView Raw
1{
2 "name": "@pactsafe/pactsafe-react-sdk",
3 "version": "2.0.2",
4 "description": "PactSafe React SDK - React SDK for easy Clickwrap/Browsewrap implementation leveraging PactSafe's JavaScript API",
5 "author": "PactSafe",
6 "main": "lib/index.js",
7 "module": "es/index.js",
8 "homepage": "https://github.com/PactSafe/pactsafe-react-sdk",
9 "scripts": {
10 "build": "nwb build-react-component",
11 "clean": "nwb clean-module && nwb clean-demo",
12 "prepublishOnly": "npm run build",
13 "start": "nwb serve-react-demo",
14 "test": "jest",
15 "test:watch": "jest --watch",
16 "test:coverage": "jest --coverage",
17 "test:coverage-watch": "jest --coverage --watch",
18 "lint": "./node_modules/.bin/eslint src/ tests/ demo/src/ --fix",
19 "preversion": "npm test && npm run lint",
20 "postversion": "git push && git push --tags",
21 "deploy": "npm run build && gh-pages -d demo/dist"
22 },
23 "files": [
24 "es",
25 "lib",
26 "umd"
27 ],
28 "dependencies": {
29 "classnames": "^2.1.2",
30 "dotenv-webpack": "^1.6.0",
31 "prop-types": "^15.5.10",
32 "react-proptype-conditional-require": "^1.0.4",
33 "uuid": "^3.3.2"
34 },
35 "peerDependencies": {
36 "react": "16.x"
37 },
38 "devDependencies": {
39 "babel-eslint": "^10.0.0",
40 "babel-jest": "^23.6.0",
41 "babel-preset-react": "^6.24.1",
42 "enzyme": "^3.7.0",
43 "enzyme-adapter-react-16": "^1.6.0",
44 "enzyme-to-json": "^3.3.4",
45 "eslint": "^5.8.0",
46 "eslint-config-airbnb": "^17.0.0",
47 "eslint-plugin-import": "^2.11.0",
48 "eslint-plugin-jest": "^22.0.1",
49 "eslint-plugin-jsx-a11y": "^6.0.3",
50 "eslint-plugin-react": "^7.7.0",
51 "gh-pages": "^2.0.1",
52 "jest": "^23.6.0",
53 "jsdom": "^13.0.0",
54 "nwb": "0.23.x",
55 "react": "^16.6.0",
56 "react-dom": "^16.6.0",
57 "react-test-renderer": "^16.6.0"
58 },
59 "repository": {
60 "type": "git",
61 "url": "https://github.com/PactSafe/pactsafe-react-sdk.git"
62 },
63 "bugs": {
64 "url": "https://github.com/PactSafe/pactsafe-react-sdk/issues"
65 },
66 "jest": {
67 "setupFiles": [
68 "./tests/jest-setup.js"
69 ],
70 "snapshotSerializers": [
71 "enzyme-to-json/serializer"
72 ],
73 "transform": {
74 "^.+\\.js$": "<rootDir>/jest.transform.js"
75 }
76 },
77 "publishConfig": {
78 "access": "public"
79 },
80 "contributors": [
81 {
82 "name": "Kyle Peeler",
83 "email": "kpeeler@pactsafe.com",
84 "url": "https://pactsafe.com"
85 }
86 ],
87 "keywords": [
88 "react-component",
89 "react",
90 "clickwrap",
91 "contract",
92 "browsewrap",
93 "pactsafe"
94 ]
95}