/
package.json
144 lines (144 loc) · 4.07 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
{
"name": "single-spa",
"version": "6.0.1",
"description": "The router for easy microfrontends",
"main": "lib/es2015/umd/single-spa.min.cjs",
"types": "typings/single-spa.d.ts",
"type": "module",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"development": {
"import": {
"types": "./typings/single-spa.d.ts",
"default": "./lib/es2015/esm/single-spa.dev.js"
},
"require": {
"types": "./typings/single-spa.d.cts",
"default": "./lib/es2015/umd/single-spa.dev.cjs"
}
},
"production": {
"import": {
"types": "./typings/single-spa.d.ts",
"default": "./lib/es2015/esm/single-spa.min.js"
},
"require": {
"types": "./typings/single-spa.d.cts",
"default": "./lib/es2015/umd/single-spa.min.cjs"
}
},
"default": {
"import": {
"types": "./typings/single-spa.d.ts",
"default": "./lib/es2015/esm/single-spa.min.js"
},
"require": {
"types": "./typings/single-spa.d.cts",
"default": "./lib/es2015/umd/single-spa.min.cjs"
}
}
},
"./package.json": "./package.json",
"./lib/*": "./lib/*"
},
"module": "lib/es2015/esm/single-spa.min.js",
"scripts": {
"build": "pnpm run clean && concurrently pnpm:build:dev pnpm:build:prod pnpm:build:types",
"build:prod": "rollup -c --environment NODE_ENV:'production'",
"build:dev": "rollup -c",
"build:analyze": "rollup -c --environment ANALYZER:'analyzer'",
"build:types": "node scripts/copy-types.js",
"watch": "rollup -c -w",
"clean": "rimraf lib",
"test": "concurrently -n w: 'pnpm:test:*'",
"test:browser": "cross-env BABEL_ENV=test jest --config jest-browser.config.js",
"test:node": "cross-env BABEL_ENV=test jest --config jest-node.config.js",
"test:types": "tsd",
"test:lockfile": "js-correct-lockfile pnpm",
"format": "prettier --write .",
"check-format": "prettier --check .",
"lint": "eslint src",
"_postinstall": "husky install",
"prepublishOnly": "pinst --disable && pnpm run build",
"postpublish": "pinst --enable"
},
"tsd": {
"testDir": "spec/typings",
"compilerOptions": {
"lib": [
"dom",
"ES2015"
]
}
},
"files": [
"lib",
"typings/single-spa.d.ts",
"typings/single-spa.d.cts"
],
"homepage": "https://single-spa.js.org",
"repository": "https://github.com/single-spa/single-spa",
"bugs": "https://github.com/single-spa/single-spa/issues",
"keywords": [
"microfrontends",
"single",
"page",
"application",
"framework",
"react",
"angular",
"vue",
"router",
"microservices",
"frontend"
],
"author": "Joel Denning",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/runtime": "^7.14.6",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.3.1",
"@types/jest": "^26.0.23",
"babel-jest": "^27.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"concurrently": "^6.2.0",
"cross-env": "^7.0.2",
"custom-event": "^1.0.1",
"eslint": "7.30.0",
"eslint-config-important-stuff": "^1.1.0",
"eslint-plugin-es5": "^1.5.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"js-correct-lockfile": "^1.0.0",
"pinst": "^2.1.6",
"prettier": "^2.0.2",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.2.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"tsd": "^0.17.0"
},
"browserslist": [
"ie >= 11",
"last 4 Safari major versions",
"last 10 Chrome major versions",
"last 10 Firefox major versions",
"last 4 Edge major versions"
],
"ignore": [
"examples",
"docs"
]
}