-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.74 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
{
"name": "js-rule-2",
"version": "1.4.0",
"description": "",
"type": "module",
"scripts": {
"dev": "pnpm clean:dev && rollup -c --environment TARGET:dev && pnpm playground",
"build": "pnpm clean && pnpm clean:cache && rollup -c",
"watch": "pnpm clean && rollup -c --watch --environment TARGET:dev",
"build:release": "pnpm build && pnpm jest:coverage && pnpm changelog",
"jest": "jest",
"jest:watch": "jest --watch",
"jest:coverage": "jest --coverage",
"clean": "rimraf dist",
"clean:dev": "rimraf ./playground/*.js ./playground/*.map",
"clean:cache": "rimraf .rollup.cache",
"playground": "live-server --port=9999 --watch=playground,lib,playground --verbose --entry-file=playground/index.html",
"prepare": "husky install",
"preinstall": "only-allow pnpm && sh scripts/preinstall.sh",
"lint": "eslint --ext .js,.ts,.tsx lib",
"lint:fix": "pnpm lint --fix",
"format": "prettier lib --write --list-different",
"lint-staged": "lint-staged",
"changelog": "standard-version -t $(date +release-%Y%m%d-v)",
"changelog:first": "standard-version --first-release -t $(date +release-%Y%m%d-v)",
"install:volta": "sh ./scripts/prepare.sh"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"import": "index.esm.js",
"require": "index.common.js",
"default": "index.js"
},
"keywords": [
"js-rule"
],
"author": "branlice",
"license": "ISC",
"volta": {
"node": "16.18.0",
"yarn": "3.2.4"
},
"devDependencies": {
"@babel/core": "7.19.6",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/preset-env": "7.19.4",
"@babel/preset-typescript": "7.18.6",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@jest/globals": "29.2.2",
"@rollup/plugin-babel": "6.0.2",
"@rollup/plugin-json": "5.0.1",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-typescript": "9.0.2",
"@types/jest": "29.2.0",
"@typescript-eslint/eslint-plugin": "5.41.0",
"@typescript-eslint/parser": "5.41.0",
"babel-jest": "29.2.2",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.1",
"jest": "29.2.2",
"jest-junit": "14.0.1",
"lint-staged": "13.0.3",
"live-server": "1.2.2",
"only-allow": "1.1.1",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"rollup": "3.2.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-dts": "5.0.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-terser": "7.0.2",
"standard-version": "9.5.0",
"ts-jest": "29.0.3",
"ts-node": "10.9.1",
"typescript": "4.8.4"
}
}