-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
82 lines (82 loc) · 2.06 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
{
"name": "babel-plugin-transform-react-pug",
"version": "7.0.1",
"description": "A plugin for transpiling pug templates to jsx",
"main": "dist/index.js",
"scripts": {
"prepublish": "rm -rf ./dist && yarn build",
"build": "babel-node scripts/generate.babel-types && babel-node scripts/generate.visitors && babel src --out-dir dist --ignore src/__tests__",
"flow": "flow",
"lint": "prettier --list-different **/*.js",
"test": "jest",
"format": "prettier --write **/*.js"
},
"files": [
"dist/"
],
"keywords": [
"babel-plugin"
],
"dependencies": {
"@babel/core": "^7.2.2",
"@types/babel-types": "^7.0.4",
"common-prefix": "^1.1.0",
"he": "^1.2.0",
"pug-error": "^1.3.2",
"pug-filters": "^3.0.1",
"pug-lexer": "^4.1.0",
"pug-parser": "^5.0.0",
"pug-strip-comments": "^1.0.3"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-transform-react-jsx": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-flow": "^7.0.0",
"@babel/types": "^7.2.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"flow-bin": "0.89.0",
"husky": "^1.3.0",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"prettier": "1.15.3",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.3"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"jest": {
"testEnvironment": "node",
"testRegex": "src/__tests__/.*(\\.test.js)$",
"collectCoverageFrom": [
"src/**/*.js",
"!src/__tests__/*.js",
"!src/lib/*.js"
],
"snapshotSerializers": [
"./scripts/jest.filename-serializer.js"
]
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all"
},
"repository": {
"type": "git",
"url": "https://github.com/pugjs/babel-plugin-transform-react-pug.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}