-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.42 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
{
"name": "@textlint/babel-plugin-textlint-scripts",
"version": "0.0.0",
"description": "A babel plugin for textlint-scripts.",
"author": "azu <[email protected]>",
"homepage": "https://github.com/textlint/babel-plugin-textlint-scripts",
"license": "MIT",
"main": "lib/index.js",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.11.5",
"@types/babel__core": "^7.1.9",
"husky": "^4.3.0",
"lint-staged": "^10.3.0",
"mocha": "^8.1.3",
"prettier": "^2.1.1"
},
"scripts": {
"clean": "rm -rf lib",
"build": "babel src -d lib",
"test": "mocha \"test/*.test.js\"",
"updateSnapshot": "UPDATE_SNAPSHOT=1 npm test",
"test:watch": "npm run test -- --watch",
"prepublish": "npm run clean && npm run build",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\""
},
"keywords": [
"textlint",
"babel",
"plugin",
"babel-plugin"
],
"dependencies": {
"@babel/template": "^7.10.4",
"comment-json": "^4.0.6",
"typescript-json-schema": "^0.43.0"
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
}
}