Skip to content

Commit 7bff321

Browse files
Initial commit.
0 parents  commit 7bff321

21 files changed

+856
-0
lines changed

.babelrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": {
5+
"node": "8"
6+
},
7+
"modules": "commonjs",
8+
"shippedProposals": true
9+
}],
10+
"@babel/preset-react",
11+
"@babel/preset-flow"
12+
],
13+
"plugins": [
14+
"@babel/plugin-proposal-class-properties",
15+
"babel-plugin-graphql-tag",
16+
["module-resolver", {
17+
"alias": {"": "./src", "#test": "./test"},
18+
}],
19+
]
20+
}

.eslintignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**/node_modules/**
2+
lib/**/*
3+
internal/**/*
4+
hub/**/*
5+
action/**/*
6+
bin/**/*
7+
/*.js
8+
**/dist/**
9+
/flow-typed/**/*
10+
/coverage

.eslintrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
extends:
2+
- metalab
3+
- metalab/react
4+
rules:
5+
no-console: 0
6+
camelcase: 0
7+
no-use-before-define: 0
8+
env:
9+
node: true
10+
globals:
11+
require: true
12+
overrides:
13+
-
14+
files: "*.test.js"
15+
env:
16+
jest: true

.flowconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[ignore]
2+
.*\.flow
3+
4+
[include]
5+
6+
[libs]
7+
8+
[lints]
9+
10+
[options]
11+
emoji=true
12+
include_warnings=true
13+
module.name_mapper='^/\(.*\)$' -> '<PROJECT_ROOT>/src/\1'
14+
module.ignore_non_literal_requires=true
15+
suppress_comment=\\(.\\|\n\\)*\\$ExpectError

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
dist
2+
node_modules
3+
*.log
4+
/lib
5+
/bin
6+
/*.js
7+
/hub
8+
/internal
9+
/action
10+
/coverage
11+
*.map
12+
*.flow

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10.4.1

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
./lib
2+
node_modules
3+
test

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parser: flow
2+
semi: true
3+
singleQuote: true
4+
trailingComma: all
5+
bracketSpacing: false
6+
arrowParens: always

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo: false
2+
language: node_js
3+
node_js:
4+
- 10
5+
- 8
6+
after_success:
7+
- bash <(curl -s https://codecov.io/bash)

package.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"name": "luminol-ui",
3+
"version": "1.0.0",
4+
"author": "Izaak Schroeder <[email protected]>",
5+
"license": "CC0-1.0",
6+
"repository": "metalabdesign/luminol-ui",
7+
"scripts": {
8+
"prepublish": "npm run clean && npm run build && npm run import && chmod +x ./bin/*.js",
9+
"clean": "./node_modules/.bin/rimraf lib ./*.js ./*.map ./*.flow bin runtime internal",
10+
"build": "./node_modules/.bin/babel --copy-files --ignore '**/__tests__' -s -d lib src",
11+
"import": "./node_modules/.bin/ncp lib .",
12+
"test:lint": "./node_modules/.bin/eslint .",
13+
"test:smoke": "echo 'todo'",
14+
"test:flow": "./node_modules/.bin/flow check",
15+
"test:spec": "NODE_ENV=test ./node_modules/.bin/jest --coverage",
16+
"test": "npm run test:lint && npm run test:spec && npm run test:smoke"
17+
},
18+
"dependencies": {
19+
"apollo-cache-inmemory": "1.3.10",
20+
"apollo-client": "2.4.6",
21+
"apollo-link-ws": "1.0.9",
22+
"apollo-server-core": "2.2.2",
23+
"backo2": "1.0.2",
24+
"blessed": "0.1.81",
25+
"bytes": "3.0.0",
26+
"chokidar": "2.0.4",
27+
"clipboardy": "1.2.3",
28+
"color-hash": "1.0.3",
29+
"cross-fetch": "2.2.3",
30+
"cuid": "2.1.4",
31+
"debug": "4.1.0",
32+
"graphql": "14.0.2",
33+
"graphql-subscriptions": "1.0.0",
34+
"graphql-tools": "4.0.3",
35+
"memory-fs": "0.4.1",
36+
"midori": "3.3.0",
37+
"mime-types": "2.1.21",
38+
"openport": "0.0.5",
39+
"opn": "5.4.0",
40+
"pidusage": "2.0.17",
41+
"ramda": "0.25.0",
42+
"react": "16.6.3",
43+
"react-apollo": "2.3.1",
44+
"react-blessed": "0.4.0",
45+
"react-dom": "16.6.3",
46+
"resolve": "1.8.1",
47+
"subscriptions-transport-ws": "0.9.15",
48+
"ws": "6.1.0",
49+
"yargs": "12.0.2"
50+
},
51+
"devDependencies": {
52+
"@babel/cli": "7.0.0",
53+
"@babel/core": "7.0.0",
54+
"@babel/plugin-proposal-class-properties": "7.0.0",
55+
"@babel/plugin-syntax-flow": "7.0.0",
56+
"@babel/plugin-syntax-object-rest-spread": "7.0.0",
57+
"@babel/preset-env": "7.0.0",
58+
"@babel/preset-flow": "7.0.0",
59+
"@babel/preset-react": "7.0.0",
60+
"@babel/register": "7.0.0",
61+
"babel-core": "7.0.0-bridge.0",
62+
"babel-jest": "23.4.2",
63+
"babel-plugin-graphql-tag": "1.6.0",
64+
"bl": "2.0.1",
65+
"eslint": "5.4.0",
66+
"eslint-config-metalab": "10.0.0",
67+
"flow-bin": "0.79.1",
68+
"graphql-tag": "2.9.2",
69+
"jest": "23.5.0",
70+
"ncp": "2.0.0",
71+
"node-fetch": "2.2.0",
72+
"prettier": "1.14.2"
73+
},
74+
"peerDependencies": {
75+
"luminol": "*"
76+
},
77+
"jest": {
78+
"testEnvironment": "node",
79+
"testMatch": [
80+
"**/__tests__/**/*.test.js"
81+
]
82+
}
83+
}

0 commit comments

Comments
 (0)