Add config files for js/perf/

This commit is contained in:
LIMSUNG GUK
2016-08-20 19:43:43 +09:00
parent 89fb45553b
commit 0c99f194d2
3 changed files with 32 additions and 0 deletions

9
js/perf/.eslintrc.js Normal file
View File

@@ -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;

2
js/perf/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.babelrc
.flowconfig

21
js/perf/package.json Normal file
View File

@@ -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"
}
}