-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 3.9 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "tersify",
"version": "0.0.0-development",
"description": "Creates a terse representation of code",
"homepage": "https://github.com/unional/tersify",
"bugs": {
"url": "https://github.com/unional/tersify/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/unional/tersify.git"
},
"license": "MIT",
"author": {
"name": "Homa Wong",
"email": "homawong@gmail.com"
},
"sideEffects": false,
"type": "module",
"exports": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"main": "cjs/index.js",
"browser": {
"./cjs/constants.d.ts": "./cjs/constants.browser.d.ts",
"./cjs/constants.js": "./cjs/constants.browser.js",
"./cjs/constants.js.map": "./cjs/constants.browser.js.map",
"./cjs/tersifyFunction.d.ts": "./cjs/tersifyFunction.browser.d.ts",
"./cjs/tersifyFunction.js": "./cjs/tersifyFunction.browser.js",
"./cjs/tersifyFunction.js.map": "./cjs/tersifyFunction.browser.js.map",
"./esm/constants.d.ts": "./esm/constants.browser.d.ts",
"./esm/constants.js": "./esm/constants.browser.js",
"./esm/constants.js.map": "./esm/constants.browser.js.map",
"./esm/tersifyFunction.d.ts": "./esm/tersifyFunction.browser.d.ts",
"./esm/tersifyFunction.js": "./esm/tersifyFunction.browser.js",
"./esm/tersifyFunction.js.map": "./esm/tersifyFunction.browser.js.map",
"./ts/constants.ts": "./ts/constants.browser.ts",
"./ts/tersifyFunction.ts": "./ts/tersifyFunction.browser.ts"
},
"types": "./esm/index.d.ts",
"files": [
"dist",
"cjs",
"esm",
"ts",
"!ts/**/*.spec.ts"
],
"scripts": {
"build": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"bundle": "webpack",
"clean": "rimraf dist cjs esm lib libm || true",
"coverage": "jest --coverage",
"depcheck": "depcheck",
"lint": "eslint --ext=js,ts .",
"prepublishOnly": "yarn bundle",
"postinstall": "husky install",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"size": "size-limit",
"test": "run-p test:node test:jsdom test:swc",
"test:jsdom": "jest -c jest.config.jsdom.mjs",
"test:node": "jest -c jest.config.mjs",
"test:swc": "jest -c jest.config.swc.mjs",
"verify": "npm-run-all clean -p build depcheck lint coverage -p size",
"watch": "jest --watch"
},
"dependencies": {
"acorn": "^8.7.0",
"is-buffer": "^2.0.5",
"unpartial": "^0.7.3"
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@semantic-release/npm": "^9.0.1",
"@size-limit/preset-small-lib": "^7.0.8",
"@swc/core": "^1.2.194",
"@swc/jest": "^0.2.21",
"@types/jest": "^27.5.1",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.23.0",
"clean-webpack-plugin": "^4.0.0",
"depcheck": "^1.4.3",
"eslint": "8.16.0",
"eslint-plugin-harmony": "^7.0.0",
"husky": "^8.0.0",
"jest": "^28.0.0",
"jest-environment-jsdom": "^28.1.0",
"jest-watch-suspend": "^1.1.2",
"jest-watch-toggle-config": "^2.0.1",
"jest-watch-typeahead": "^1.0.0",
"npm-run-all": "^4.1.5",
"param-case": "^3.0.4",
"pascal-case": "^3.1.2",
"pinst": "^3.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"size-limit": "^7.0.8",
"source-map-loader": "^3.0.1",
"ts-jest": "^28.0.3",
"ts-loader": "^9.3.0",
"typescript": "^4.7.2",
"webpack": "^5.72.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2"
},
"packageManager": "yarn@3.2.1",
"size-limit": [
{
"path": "./cjs/index.js",
"limit": "5 kB"
},
{
"path": "./esm/index.js",
"limit": "5 kB"
}
]
}