-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
71 lines (71 loc) · 2.11 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
{
"name": "gen-flow-files",
"version": "0.5.0",
"description": "",
"main": "dist/cli.js",
"dependencies": {
"@babel/core": "^7.7.5",
"@babel/generator": "^7.7.4",
"@babel/parser": "^7.7.5",
"@babel/plugin-proposal-throw-expressions": "^7.7.4",
"@babel/plugin-syntax-flow": "^7.7.4",
"@babel/traverse": "^7.7.4",
"@babel/types": "^7.7.4",
"glob": "^7.1.6",
"mkdirp": "^0.5.1",
"yargs": "^15.0.2"
},
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.6",
"@babel/preset-flow": "^7.7.4",
"@babel/register": "^7.7.4",
"babel-core": "^7.0.0-bridge.0",
"babel-test": "^0.2.3",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"jest-file-snapshot": "^0.3.8",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"rimraf": "^3.0.0"
},
"bin": {
"gen-flow-files": "./bin/gen-flow-files.js"
},
"scripts": {
"build": "npm run build:clean && npm run build:lib",
"build:clean": "rimraf dist",
"build:lib": "cross-env BABEL_ENV=production babel src --out-dir dist --ignore '**/__tests__/**'",
"test": "jest",
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write && git add . && git status",
"generate-example-code": "rimraf example/generated-code && ./bin/gen-flow-files.js example/orginal-code --out-dir example/generated-code",
"prepublish": "npm run test && npm run build && npm run generate-example-code"
},
"pre-commit": [
"prettier",
"test"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ilyalesik/gen-flow-files.git"
},
"gitpkg":{
"registry": "git@github.com:Vydia/gen-flow-files.git"
},
"author": "Ilya Lesik",
"license": "MIT",
"bugs": {
"url": "https://github.com/ilyalesik/gen-flow-files/issues"
},
"homepage": "https://github.com/ilyalesik/gen-flow-files#readme",
"jest": {
"testEnvironment": "node",
"snapshotSerializers": [
"<rootDir>/test/whitespaceTrimmingSerializer.js"
],
"watchPathIgnorePatterns": [
"fixtures\\/[^/]+\\/(output|error)\\.js"
]
}
}