This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·155 lines (155 loc) · 3.67 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "babel-plugin-dash",
"version": "0.4.11",
"description": "A babel plugin for @dash-ui",
"keywords": [
"babel plugin dash"
],
"homepage": "https://github.com/dash-ui/babel-plugin-dash#readme",
"bugs": "https://github.com/dash-ui/babel-plugin-dash/issues",
"repository": "github:dash-ui/babel-plugin-dash",
"license": "MIT",
"author": "Jared Lunde <[email protected]> (https://jaredlunde.com/)",
"sideEffects": false,
"exports": {
".": {
"browser": "./dist/module/index.js",
"import": "./dist/esm/index.mjs",
"require": "./dist/main/index.js",
"source": "./src/index.js",
"default": "./dist/main/index.js"
},
"./package.json": "./package.json",
"./": "./"
},
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"source": "src/index.js",
"files": [
"/dist",
"/src"
],
"scripts": {
"build": "lundle build",
"dev": "lundle build -f module,cjs -w",
"format": "prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,js,md,yml,json}\"",
"lint": "eslint .",
"prepare": "husky install",
"test": "jest",
"validate": "pnpm run lint && pnpm run test -- --coverage"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.js": [
"eslint --fix",
"prettier --write"
],
"**/*.{md,yml,json,eslintrc,prettierrc}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"eslintConfig": {
"extends": [
"lunde"
]
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist",
"/types",
"test",
"*.config.js"
],
"jest": {
"collectCoverageFrom": [
"**/src/**/*.js",
"!**/__fixtures__/*"
],
"globals": {
"__DEV__": true
},
"moduleDirectories": [
"node_modules",
"src",
"test"
],
"moduleNameMapper": {
"test-utils": "<rootDir>/test/utils.js"
},
"setupFilesAfterEnv": [
"./test/setup.js"
],
"snapshotResolver": "./test/resolve-snapshot.js",
"testMatch": [
"<rootDir>/src/**/?(*.)test.js",
"<rootDir>/test/**/?(*.)test.js"
],
"testPathIgnorePatterns": [
"node_modules",
"__fixtures__"
]
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"@dash-ui/styles": "^0.8.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"babel-check-duplicated-nodes": "^1.0.0",
"babel-jest": "latest",
"cz-conventional-changelog": "latest",
"eslint": "latest",
"eslint-config-lunde": "latest",
"husky": "latest",
"jest": "latest",
"jest-in-case": "^1.0.2",
"lint-staged": "latest",
"lundle": "latest",
"prettier": "latest"
},
"dependencies": {
"@babel/generator": "^7.9.6",
"@babel/helper-module-imports": "^7.8.3",
"babel-plugin-macros": "^2.8.0",
"convert-source-map": "^1.7.0",
"source-map": "^0.7.3"
},
"peerDependencies": {
"@dash-ui/styles": ">=0.6.1"
},
"release": {
"branches": [
"main",
"next",
"alpha"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"types",
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
}