-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
69 lines (69 loc) · 1.76 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
{
"name": "babel-plugin-transform-react-pug",
"version": "4.1.0",
"description": "A plugin for transpiling pug templates to jsx",
"main": "lib/index.js",
"files": [
"lib/"
],
"keywords": [
"babel-plugin"
],
"dependencies": {
"babylon": "6.18.0",
"common-prefix": "^1.1.0",
"pug-error": "^1.3.2",
"pug-filters": "^3.0.1",
"pug-lexer": "^4.0.0",
"pug-parser": "^5.0.0",
"pug-strip-comments": "^1.0.3"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-jest": "^22.1.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-forbeslindesay": "^2.1.0",
"babel-types": "^6.24.1",
"flow-bin": "^0.66.0",
"husky": "^0.14.3",
"jest": "^22.1.4",
"lint-staged": "^7.0.0",
"prettier": "1.11.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0"
},
"scripts": {
"precommit": "lint-staged",
"prepublish": "npm run build",
"build": "babel-node scripts/generate-babel-types && babel-node scripts/build-visitors && babel src --out-dir lib",
"flow": "flow",
"lint": "prettier --list-different **/*.js",
"test": "jest --coverage",
"watch": "jest --coverage --watch",
"format": "prettier --write **/*.js"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"jest": {
"testEnvironment": "node",
"testRegex": "src/__tests__/.*(\\.test.js)$",
"collectCoverageFrom": [
"src/**/*.js",
"!src/__tests__/*.js",
"!src/babel-types.js"
],
"snapshotSerializers": [
"./scripts/filename-serializer.js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/pugjs/babel-plugin-transform-react-pug.git"
}
}