-
Notifications
You must be signed in to change notification settings - Fork 361
/
package.json
139 lines (139 loc) · 3.83 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
{
"name": "microbundle",
"version": "0.15.1",
"description": "Zero-configuration bundler for tiny JS libs, powered by Rollup.",
"main": "dist/microbundle.js",
"source": "src/index.js",
"bin": "dist/cli.js",
"repository": "developit/microbundle",
"keywords": [
"bundle",
"rollup",
"micro library"
],
"files": [
"src",
"dist",
"index.d.ts"
],
"author": "Jason Miller <[email protected]> (http://jasonformat.com)",
"license": "MIT",
"scripts": {
"build": "npm run -s build:babel && npm run -s build:self",
"build:babel": "babel-node src/cli.js --target=node --format cjs src/{cli,index}.js",
"build:self": "node dist/cli.js --target=node --format cjs src/{cli,index}.js",
"prepare": "npm run -s build",
"prepare:babel": "babel src/*.js -d dist && npm t",
"lint": "eslint src",
"test": "npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest",
"jest": "cross-env BABEL_ENV=test jest",
"format": "prettier --write \"{*,{src,test}/**/*}.+(js|css)\"",
"changeset": "changeset",
"release": "npm run -s prepare && npm test && changeset publish"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"useTabs": true,
"arrowParens": "avoid",
"overrides": [
{
"files": "package.json",
"options": {
"useTabs": false,
"parser": "json-stringify"
}
}
]
},
"lint-staged": {
"{src,test}/**/*.js": [
"eslint --fix",
"prettier --write"
],
"{*,{src,test}/**/*}.+(js|css)": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"jest": {
"testEnvironment": "node",
"testURL": "http://localhost"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-jsx": "^7.12.1",
"@babel/plugin-transform-flow-strip-types": "^7.12.10",
"@babel/plugin-transform-react-jsx": "^7.12.11",
"@babel/plugin-transform-regenerator": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.10",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@surma/rollup-plugin-off-main-thread": "^2.2.2",
"asyncro": "^3.0.0",
"autoprefixer": "^10.1.0",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"babel-plugin-transform-replace-expressions": "^0.2.0",
"brotli-size": "^4.0.0",
"builtin-modules": "^3.1.0",
"camelcase": "^6.2.0",
"escape-string-regexp": "^4.0.0",
"filesize": "^6.1.0",
"gzip-size": "^6.0.0",
"kleur": "^4.1.3",
"lodash.merge": "^4.6.2",
"postcss": "^8.2.1",
"pretty-bytes": "^5.4.1",
"rollup": "^2.35.1",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.0",
"rollup-plugin-visualizer": "^5.6.0",
"sade": "^1.7.4",
"terser": "^5.7.0",
"tiny-glob": "^0.2.8",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-throw-expressions": "^7.12.1",
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.12.0",
"babel-jest": "^26.6.3",
"cross-env": "^7.0.3",
"directory-tree": "^2.2.5",
"eslint": "^7.15.0",
"eslint-config-developit": "^1.2.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.3.0",
"esm": "^3.2.25",
"fs-extra": "^9.0.1",
"husky": "^4.3.6",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"npm-merge-driver-install": "^1.1.1",
"prettier": "^2.2.1",
"regenerator-runtime": "^0.13.7",
"rimraf": "^3.0.2",
"shell-quote": "^1.7.2",
"strip-ansi": "^6.0.0"
}
}