-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
115 lines (115 loc) · 3.72 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
{
"name": "single-spa-layout",
"version": "3.0.0",
"description": "Layout engine for single-spa applications",
"main": "dist/umd/single-spa-layout.min.cjs",
"module": "dist/esm/single-spa-layout.min.js",
"type": "module",
"types": "dist/types/single-spa-layout-interface.d.ts",
"exports": {
".": {
"default": {
"types": "./dist/types/single-spa-layout-interface.d.ts",
"import": "./dist/esm/single-spa-layout.min.js",
"require": "./dist/umd/single-spa-layout.min.cjs"
}
},
"./server": {
"node": {
"types": "./dist/types/single-spa-layout-server.d.ts",
"import": "./dist/esm/single-spa-layout-server.min.js",
"require": "./dist/umd/single-spa-layout-server.min.cjs"
}
}
},
"scripts": {
"prepublishOnly": "pnpm run build",
"build": "rimraf dist && concurrently -n w: 'pnpm:build:*'",
"build:lib": "rollup -c",
"build:types:browser": "tsc --project tsconfig.json",
"build:types:server": "tsc --project tsconfig.node.json",
"watch-build": "rollup -cw --environment DEVELOPMENT",
"check-format": "prettier --check .",
"lint": "eslint src",
"format": "prettier --write .",
"test": "concurrently -n w: 'pnpm:test:*'",
"test:browser": "cross-env BABEL_ENV=test jest --testEnvironment=jsdom --testPathIgnorePatterns=test/node-only --testPathIgnorePatterns=cypress",
"test:node": "cross-env BABEL_ENV=test jest --testEnvironment=node --testPathIgnorePatterns=test/browser-only --testPathIgnorePatterns=cypress",
"test:types": "tsd",
"test:exports": "ls-exports path .",
"test:lockfile": "js-correct-lockfile pnpm",
"test-e2e:firefox": "cypress run --browser firefox",
"test-e2e:chrome": "cypress run --browser chrome",
"prepare": "husky install"
},
"engines": {
"node": ">=12"
},
"files": [
"dist",
"dist/types/single-spa-layout-interface.d.ts"
],
"tsd": {
"directory": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/single-spa/single-spa-layout.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/single-spa/single-spa-layout/issues"
},
"homepage": "https://github.com/single-spa/single-spa-layout#readme",
"browserslist": [
"ie >= 11",
"last 4 Safari major versions",
"last 10 Chrome major versions",
"last 10 Firefox major versions",
"last 4 Edge major versions"
],
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@types/jest": "^26.0.24",
"@types/jsdom": "^16.2.13",
"@types/systemjs": "^6.1.1",
"babel-jest": "^27.0.6",
"concurrently": "^6.2.0",
"cross-env": "^7.0.2",
"cypress": "^7.6.0",
"eslint": "^7.30.0",
"eslint-config-important-stuff": "^1.1.0",
"eslint-config-node-important-stuff": "^1.1.0",
"eslint-plugin-es5": "^1.5.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jest-cli": "^27.0.6",
"jest-serializer-html": "^7.0.0",
"js-correct-lockfile": "^1.0.0",
"jsdom": "^16.6.0",
"ls-exports": "^1.0.2",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.52.7",
"rollup-plugin-terser": "^7.0.2",
"tsd": "^0.17.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@types/parse5": "^6.0.0",
"merge2": "^1.4.1",
"parse5": "^6.0.1",
"single-spa": "^6.0.0-beta.1"
}
}