Skip to content

Commit

Permalink
fix: add browser compiled version to lib folder (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Apr 25, 2019
1 parent fe8d902 commit 14acecd
Show file tree
Hide file tree
Showing 5 changed files with 590 additions and 456 deletions.
3 changes: 2 additions & 1 deletion .dist.eslintrc
Expand Up @@ -16,7 +16,8 @@
"no-undef": "off",
"no-unused-vars": "off",
"no-useless-escape": "off",
"no-cond-assign": "off"
"no-cond-assign": "off",
"no-redeclare": "off"
},
"globals": {
"regeneratorRuntime": "writable"
Expand Down
3 changes: 2 additions & 1 deletion .lib.babelrc
Expand Up @@ -2,7 +2,8 @@
"presets": [
["@babel/env", {
"targets": {
"node": "6.4.0"
"node": "6.4.0",
"browsers": [ "> 1%", "last 2 versions", "ie 9" ]
}
}]
]
Expand Down
8 changes: 6 additions & 2 deletions .lib.eslintrc
@@ -1,16 +1,20 @@
{
"extends": ["eslint:recommended", "plugin:node/recommended"],
"env": {
"node": true,
"browser": true
},
"rules": {
"node/no-deprecated-api": "off",
"no-console": "off",
"no-unused-vars": "off",
"no-empty": "off",
"node/no-unsupported-features/node-builtins": "off"
"node/no-unsupported-features/node-builtins": "off",
"no-func-assign": "off"
},
"overrides": [
{
"files": [ "lib/client.js" ],
"env": { "browser": true },
"globals": {
"ActiveXObject": "readable"
}
Expand Down
32 changes: 16 additions & 16 deletions package.json
Expand Up @@ -23,53 +23,53 @@
"Nick Baugh <niftylettuce@gmail.com>"
],
"dependencies": {
"component-emitter": "^1.2.1",
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.2",
"debug": "^4.1.1",
"form-data": "^2.3.3",
"formidable": "^1.2.1",
"methods": "^1.1.2",
"mime": "^2.4.0",
"mime": "^2.4.2",
"qs": "^6.7.0",
"readable-stream": "^3.2.0",
"readable-stream": "^3.3.0",
"semver": "^6.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"Base64": "^1.0.2",
"babelify": "^10.0.0",
"basic-auth-connect": "^1.0.0",
"body-parser": "^1.18.3",
"browserify": "^16.2.3",
"caniuse-lite": "^1.0.30000954",
"codecov": "^3.2.0",
"caniuse-lite": "^1.0.30000963",
"codecov": "^3.3.0",
"cookie-parser": "^1.4.4",
"cross-env": "^5.2.0",
"eslint": "^5.15.3",
"eslint": "^5.16.0",
"eslint-config-xo-lass": "^1.0.3",
"eslint-plugin-compat": "^3.1.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-node": "^8.0.1",
"express": "^4.16.4",
"express-session": "^1.15.6",
"express-session": "^1.16.1",
"fixpack": "^2.3.1",
"husky": "^1.3.1",
"husky": "^2.1.0",
"lint-staged": "^8.1.5",
"marked": "^0.6.1",
"marked": "^0.6.2",
"mocha": "3.5.3",
"multer": "^1.4.1",
"nyc": "^13.3.0",
"nyc": "^14.0.0",
"remark-cli": "^6.0.1",
"remark-preset-github": "^0.0.13",
"rimraf": "^2.6.3",
"should": "^13.2.3",
"should-http": "^0.1.1",
"tinyify": "^2.5.0",
"uglify-js": "^3.5.2",
"uglify-js": "^3.5.8",
"xo": "0.24.0",
"zuul": "^3.12.0"
},
Expand Down

0 comments on commit 14acecd

Please sign in to comment.