From 0c99f194d2aa3ff01e5f88ec473ea67f8cf2606f Mon Sep 17 00:00:00 2001 From: LIMSUNG GUK Date: Sat, 20 Aug 2016 19:43:43 +0900 Subject: [PATCH] Add config files for js/perf/ --- js/perf/.eslintrc.js | 9 +++++++++ js/perf/.gitignore | 2 ++ js/perf/package.json | 21 +++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 js/perf/.eslintrc.js create mode 100644 js/perf/.gitignore create mode 100644 js/perf/package.json diff --git a/js/perf/.eslintrc.js b/js/perf/.eslintrc.js new file mode 100644 index 0000000000..0fee8ee23d --- /dev/null +++ b/js/perf/.eslintrc.js @@ -0,0 +1,9 @@ +// Copyright 2016 Attic Labs, Inc. All rights reserved. +// Licensed under the Apache License, version 2.0: +// http://www.apache.org/licenses/LICENSE-2.0 + +module.exports = require('@attic/eslintrc'); +// Allow console +module.exports.rules['no-console'] = 0; +// Used to distinguish between user errors and exceptions. +module.exports.rules['no-throw-literal'] = 0; diff --git a/js/perf/.gitignore b/js/perf/.gitignore new file mode 100644 index 0000000000..40cf2bbbb3 --- /dev/null +++ b/js/perf/.gitignore @@ -0,0 +1,2 @@ +.babelrc +.flowconfig diff --git a/js/perf/package.json b/js/perf/package.json new file mode 100644 index 0000000000..34bbf37ff4 --- /dev/null +++ b/js/perf/package.json @@ -0,0 +1,21 @@ +{ + "name": "noms-perf", + "version": "0.0.0", + "description": "shared node modules", + "license": "Apache-2.0", + "dependencies": { + "@attic/eslintrc": "^3.1.0", + "@attic/noms": "file:..", + "babel-cli": "^6.10.1", + "chai": "^3.5.0", + "flow-bin": "^0.30.0", + "humanize": "^0.0.9", + "mz": "^2.4.0", + "varint": "^4.0.0", + "yargs": "^4.7.1" + }, + "scripts": { + "preinstall": "ln -sf ../.babelrc && ln -sf ../.flowconfig", + "test": "exit 0" + } +}