-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "dotenv.macro",
"version": "1.0.0",
"description": "Inline dotenv at build-time with babel-plugin-macros.",
"author": "Michael Hsu <evenchange4@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"bugs": {
"url": "https://github.com/evenchange4/dotenv.macro/issues",
"email": "evenchange4@gmail.com"
},
"homepage": "https://github.com/evenchange4/dotenv.macro#readme",
"repository": {
"type": "git",
"url": "https://github.com/evenchange4/dotenv.macro.git"
},
"files": ["lib"],
"engines": {
"node": ">=9.0.0"
},
"scripts": {
"clean": "rm -rf lib",
"prebuild": "npm run clean",
"build":
"NODE_ENV=production babel src --out-dir lib --ignore '**/*.test.js'",
"test": "jest --coverage --runInBand",
"test:watch": "npm run test -- --watch",
"eslint": "eslint ./",
"format": "prettier --write 'src/**/*.js' '*.{json,md}'",
"flow": "flow",
"precommit": "lint-staged",
"changelog":
"github-changes -o evenchange4 -r dotenv.macro -b master -f ./CHANGELOG.md --order-semver --use-commit-body"
},
"dependencies": {
"babel-plugin-macros": "2.0.0",
"dotenv": "4.0.0",
"dotenv-expand": "4.0.1"
},
"devDependencies": {
"@babel/cli": "7.0.0-beta.38",
"@babel/core": "7.0.0-beta.38",
"@babel/node": "7.0.0-beta.38",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.38",
"@babel/preset-env": "7.0.0-beta.38",
"@babel/preset-flow": "7.0.0-beta.38",
"ast-pretty-print": "2.0.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "22.1.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-tester": "5.0.0",
"codecov": "3.0.0",
"eslint": "4.15.0",
"eslint-config-airbnb-base": "12.1.0",
"eslint-config-prettier": "2.9.0",
"eslint-plugin-flowtype": "2.41.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jest": "21.7.0",
"eslint-plugin-prettier": "2.5.0",
"flow-bin": "0.63.1",
"github-changes": "1.1.2",
"husky": "0.14.3",
"jest": "22.1.3",
"lint-staged": "6.0.0",
"prettier": "1.10.2"
},
"jest": {
"collectCoverageFrom": ["src/**/*.js", "!src/**/*.test.js"],
"testPathIgnorePatterns": ["<rootDir>/node_modules/", "<rootDir>/lib/"],
"resetMocks": true,
"resetModules": true
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-flow"
],
"plugins": [
"babel-plugin-add-module-exports",
"@babel/plugin-proposal-object-rest-spread"
]
},
"flow-coverage-report": {
"excludeGlob": ["node_modules/**"],
"includeGlob": ["src/**/*.js", "bin/**/*.js"],
"threshold": 90,
"type": "text"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:flowtype/recommended",
"plugin:jest/recommended",
"prettier",
"prettier/react",
"prettier/flowtype"
],
"plugins": ["prettier", "jest", "flowtype"],
"env": {
"jest/globals": true
},
"rules": {
"prettier/prettier": "error"
}
}
}