temporarily
Version:
Create temporary directories and files.
112 lines (111 loc) • 2.22 kB
JSON
{
"name": "temporarily",
"version": "1.1.0",
"description": "Create temporary directories and files.",
"keywords": [
"temporarily",
"temporary",
"temp",
"tmp",
"file",
"files",
"dir",
"dirs",
"directory",
"directories",
"scaffold",
"test",
"testing"
],
"author": "Dieter Luypaert <dieterluypaert@icloud.com>",
"license": "MIT",
"repository": "git@github.com:moeriki/temporarily.git",
"engines": {
"node": ">=4",
"npm": ">=3"
},
"main": "index.js",
"module": "lib/index.js",
"files": [
"build/*.js",
"lib/*.js",
"*.js"
],
"scripts": {
"lint": "eslint --cache lib/ test/",
"test": "npm run lint && jest --coverage",
"build": "BABEL_ENV=production babel lib/ --out-dir build/"
},
"dependencies": {
"crypto-random-string": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "~7.2.3",
"@babel/core": "~7.2.2",
"@babel/preset-env": "~7.3.1",
"babel-jest": "^24.1.0",
"eslint": "^5.13.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.13.0",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lint-staged": "^8.1.3"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": 4
}
}
]
],
"sourceMaps": "inline"
},
"eslintConfig": {
"extends": [
"airbnb-base",
"prettier"
],
"overrides": [
{
"files": "lib/*.js",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
}
},
{
"files": "test/*.js",
"parserOptions": {
"sourceType": "common-js"
},
"env": {
"jest": true
}
}
],
"root": true,
"rules": {
"no-sync": 0
}
},
"husky": {
"hooks": {
"preversion": "npm run build && git add -A build/",
"precommit": "lint-staged",
"prepush": "npm test"
}
},
"lint-staged": {
"{lib,test}/*.js": "eslint"
},
"prettier": {
"arrowParens": "always",
"singleQuote": true,
"trailingComma": "all"
}
}