-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
74 lines (74 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
70
71
72
73
74
{
"name": "escape-latex",
"version": "1.2.0",
"engines": {
"node": ">= 14"
},
"description": "Escape LaTeX special characters with Javascript",
"main": "./dist/index.js",
"files": [
"dist"
],
"scripts": {
"test": "nyc --reporter=lcov --reporter=text-summary mocha --require @babel/register -u tdd ./src/**/*.test.js",
"pretest": "npm run lint",
"preversion": "npm test && npm run build",
"postversion": "git push && git push --tags",
"precommit": "npm run lint && lint-staged",
"prettier": "prettier --write ./src/**/*.js",
"lint": "eslint ./src",
"init": "mkdir dist",
"clean": "rimraf dist",
"prebuild": "npm run clean && npm run init",
"build": "babel ./src -d ./dist --ignore \"src/**/*.test.js\""
},
"lint-staged": {
"*.{js,json,css,md}": [
"npm run prettier",
"git add"
]
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 8
},
"extends": [
"eslint:recommended",
"google",
"prettier"
],
"env": {
"node": true
}
},
"prettier": {
"trailingComma": "all"
},
"repository": {
"type": "git",
"url": "https://github.com/dangmai/escape-latex"
},
"keywords": [
"latex",
"escape"
],
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-transform-object-assign": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/register": "^7.12.1",
"chai": "^4.1.2",
"eslint": "^8.0.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.0.5",
"lint-staged": "^15.0.1",
"mocha": "^10.0.0",
"nyc": "^17.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.0"
},
"author": "Dang Mai",
"license": "MIT"
}