1 | {
|
2 | "name": "@pactsafe/pactsafe-react-sdk",
|
3 | "version": "2.0.0",
|
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 | "license": "UNLICENSED",
|
24 | "dependencies": {
|
25 | "classnames": "^2.1.2",
|
26 | "dotenv-webpack": "^1.6.0",
|
27 | "prop-types": "^15.5.10",
|
28 | "react-proptype-conditional-require": "^1.0.4",
|
29 | "uuid": "^3.3.2"
|
30 | },
|
31 | "peerDependencies": {
|
32 | "react": "16.x"
|
33 | },
|
34 | "devDependencies": {
|
35 | "babel-eslint": "^10.0.0",
|
36 | "babel-jest": "^23.6.0",
|
37 | "babel-preset-react": "^6.24.1",
|
38 | "enzyme": "^3.7.0",
|
39 | "enzyme-adapter-react-16": "^1.6.0",
|
40 | "enzyme-to-json": "^3.3.4",
|
41 | "eslint": "^5.8.0",
|
42 | "eslint-config-airbnb": "^17.0.0",
|
43 | "eslint-plugin-import": "^2.11.0",
|
44 | "eslint-plugin-jest": "^22.0.1",
|
45 | "eslint-plugin-jsx-a11y": "^6.0.3",
|
46 | "eslint-plugin-react": "^7.7.0",
|
47 | "gh-pages": "^2.0.1",
|
48 | "jest": "^23.6.0",
|
49 | "jsdom": "^13.0.0",
|
50 | "nwb": "0.23.x",
|
51 | "react": "^16.6.0",
|
52 | "react-dom": "^16.6.0",
|
53 | "react-test-renderer": "^16.6.0"
|
54 | },
|
55 | "repository": {
|
56 | "type": "git",
|
57 | "url": "https://github.com/PactSafe/pactsafe-react-sdk.git"
|
58 | },
|
59 | "bugs": {
|
60 | "url": "https://github.com/PactSafe/pactsafe-react-sdk/issues"
|
61 | },
|
62 | "jest": {
|
63 | "setupFiles": [
|
64 | "./tests/jest-setup.js"
|
65 | ],
|
66 | "snapshotSerializers": [
|
67 | "enzyme-to-json/serializer"
|
68 | ],
|
69 | "transform": {
|
70 | "^.+\\.js$": "<rootDir>/jest.transform.js"
|
71 | }
|
72 | },
|
73 | "publishConfig": {
|
74 | "access": "public"
|
75 | },
|
76 | "contributors": [
|
77 | {
|
78 | "name": "Kyle Peeler",
|
79 | "email": "kpeeler@pactsafe.com",
|
80 | "url": "https://pactsafe.com"
|
81 | }
|
82 | ],
|
83 | "keywords": [
|
84 | "react-component",
|
85 | "react",
|
86 | "clickwrap",
|
87 | "contract",
|
88 | "browsewrap",
|
89 | "pactsafe"
|
90 | ]
|
91 | }
|