-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
102 lines (102 loc) · 3.43 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "openlaw",
"version": "0.2.47",
"description": "JavaScript library for integrating the OpenLaw protocol to store, edit, and manage smart legal agreements.",
"keywords": [
"agreement",
"blockchain",
"contract",
"ethereum",
"law",
"legal",
"openlaw",
"smart contract"
],
"sideEffects": false,
"main": "dist/cjs/openlaw.js",
"module": "dist/esm/lib/index.js",
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && npm run build:esm && rollup -c --environment BUILD:development",
"build:esm": "run-p build:esm:apiclient build:esm:openlaw build:esm:index",
"build:esm:apiclient": "cpy --rename=apiclient.js 'js/src/APIClient.js' 'dist/esm/lib/' && babel dist/esm/lib/apiclient.js -o dist/esm/lib/apiclient.js && terser dist/esm/lib/apiclient.js -cm --module -o dist/esm/lib/apiclient.js",
"build:esm:index": "cpy --rename=index.js 'js/src/index.esm.js' 'dist/esm/lib/'",
"build:esm:openlaw": "cpy --rename=openlaw.js 'target/scala-2.12/client.js' 'dist/esm/lib/' && terser dist/esm/lib/openlaw.js -cm --module -o dist/esm/lib/openlaw.js",
"build:prod": "rimraf dist && npm run build:esm && rollup -c --environment BUILD:production",
"flow": "flow",
"lint": "eslint --c .eslintrc 'js/src/**/*.js'",
"lint:fix": "eslint --c .eslintrc 'js/src/**/*.js' --fix",
"prepublishOnly": "npm run build:prod",
"publish-semver": "npm-publish-prerelease",
"release": "np",
"release:patch": "np patch",
"style": "prettier '{js/src/**/*.js,docs/*.md,*.md}' --check",
"style:fix": "prettier '{js/src/**/*.js,docs/*.md,*.md}' --write"
},
"prettier": {
"overrides": [
{
"files": "js/src/**/*.js",
"options": {
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"parser": "flow",
"tabWidth": 2
}
}
]
},
"np": {
"yarn": false,
"publish": false
},
"repository": {
"type": "git",
"url": "https://github.com/openlawteam/openlaw-client.git"
},
"author": "OpenLaw Team <[email protected]>",
"license": "Apache-2.0",
"bugs": "https://github.com/openlawteam/openlaw-client/issues",
"homepage": "https://openlaw.io",
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-flow": "^7.12.1",
"babel-eslint": "^10.1.0",
"babel-preset-minify": "^0.5.1",
"cpy-cli": "^3.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-security": "^1.4.0",
"flow-bin": "^0.130.0",
"np": "^6.3.2",
"npm-publish-prerelease": "^1.0.2",
"npm-run-all": "^4.1.5",
"prettier": "2.1.1",
"rimraf": "^3.0.2",
"rollup": "^1.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.3.1",
"terser": "^5.3.8"
},
"dependencies": {
"@babel/runtime": "^7.10.4",
"axios": "^0.18.1",
"query-string": "^6.13.7"
}
}