-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.55 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
{
"name": "smartquotes-ts",
"version": "0.0.2",
"author": {
"name": "Jiwu Jang",
"email": "[email protected]",
"url": "https://cliid.dev/"
},
"contributors": [
"Jiwu Jang",
"Kelly Martin",
"Callum Macrae"
],
"description": "Smart quotes are smart typography.",
"homepage": "http://github.com/cliid/smartquotes-ts",
"license": "MIT",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"keywords": [
"smart",
"quotes",
"typescript",
"ts",
"browser",
"node.js"
],
"repository": {
"type": "git",
"url": "git://github.com/cliid/smartquotes-ts.git"
},
"bugs": {
"url": "https://github.com/cliid/smartquotes-ts/issues"
},
"scripts": {
"prepare": "husky install",
"lint": "pretty-quick --staged && lint-staged",
"preversion": "npm test && git commit . -m \"Build release\" || true",
"prebuild": "rimraf dist && rimraf types",
"build": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"build:umd": "rollup dist/esm/index.js --format umd --name smartquotes --sourcemap -o dist/umd/smartquotes.js",
"build:umd:min": "cd dist/umd && uglifyjs --compress --mangle --source-map --comments -o smartquotes.min.js -- smartquotes.js && gzip smartquotes.min.js -c > smartquotes.min.js.gz",
"test": "npm run build && tap --node-arg=\"-r\" --node-arg=\"ts-node/register\" test/tap-test.ts"
},
"devDependencies": {
"@types/domhandler": "^2.4.2",
"@types/jsdom": "^20.0.0",
"@types/tap": "^15.0.7",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": ">=7",
"jsdom": "^20.0.0",
"lint-staged": ">=10",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.77.2",
"tap": "^16.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"uglify-js": "^3.16.3",
"webcomponents.js": "^0.7.24"
},
"lint-staged": {
"*.{ts,js}": "eslint --cache --fix"
},
"hooks": {
"pre-commit": "yarn lint"
},
"dependencies": {
"@types/node": "^18.6.1",
"parse5": "^7.0.0"
}
}