UNPKG

2.75 kBJSONView Raw
1{
2 "name": "single-spa",
3 "version": "5.5.5",
4 "description": "The router for easy microfrontends",
5 "main": "lib/umd/single-spa.min.js",
6 "types": "typings/single-spa.d.ts",
7 "module": "lib/esm/single-spa.min.js",
8 "scripts": {
9 "build": "yarn clean && concurrently yarn:build:dev yarn:build:prod",
10 "build:prod": "rollup -c --environment NODE_ENV:'production'",
11 "build:dev": "rollup -c",
12 "build:analyze": "rollup -c --environment ANALYZER:'analyzer'",
13 "watch": "rollup -c -w",
14 "prepublishOnly": "yarn build",
15 "clean": "rimraf lib",
16 "test": "concurrently -n w: 'yarn:test:*'",
17 "test:browser": "cross-env BABEL_ENV=test jest --config jest-browser.config.js",
18 "test:node": "cross-env BABEL_ENV=test jest --config jest-node.config.js",
19 "test:types": "tsd",
20 "prettier": "prettier './**' --write",
21 "lint": "eslint src"
22 },
23 "tsd": {
24 "testDir": "spec/typings",
25 "compilerOptions": {
26 "lib": [
27 "dom"
28 ]
29 }
30 },
31 "husky": {
32 "hooks": {
33 "pre-commit": "pretty-quick --staged && concurrently yarn:test yarn:lint"
34 }
35 },
36 "files": [
37 "lib",
38 "typings/single-spa.d.ts"
39 ],
40 "homepage": "https://single-spa.js.org",
41 "repository": "https://github.com/single-spa/single-spa",
42 "bugs": "https://github.com/single-spa/single-spa/issues",
43 "keywords": [
44 "microfrontends",
45 "single",
46 "page",
47 "application",
48 "framework",
49 "react",
50 "angular",
51 "vue",
52 "router",
53 "microservices",
54 "frontend"
55 ],
56 "author": "Joel Denning",
57 "license": "MIT",
58 "dependencies": {},
59 "devDependencies": {
60 "@babel/core": "^7.9.0",
61 "@babel/plugin-syntax-dynamic-import": "^7.8.3",
62 "@babel/preset-env": "^7.9.0",
63 "@rollup/plugin-replace": "^2.3.1",
64 "@types/jest": "^25.1.4",
65 "babel-eslint": "^10.1.0",
66 "babel-jest": "^25.1.0",
67 "babel-plugin-dynamic-import-node": "^2.3.0",
68 "concurrently": "^5.1.0",
69 "cross-env": "^7.0.2",
70 "custom-event": "^1.0.1",
71 "eslint": "6.8.0",
72 "eslint-config-canopy": "2.3.0",
73 "eslint-config-important-stuff": "^1.1.0",
74 "eslint-plugin-es5": "^1.5.0",
75 "husky": "^4.2.3",
76 "jest": "^25.1.0",
77 "prettier": "^2.0.2",
78 "pretty-quick": "^2.0.1",
79 "rimraf": "^3.0.2",
80 "rollup": "^2.2.0",
81 "rollup-plugin-analyzer": "^3.1.2",
82 "rollup-plugin-babel": "^4.4.0",
83 "rollup-plugin-commonjs": "^10.1.0",
84 "rollup-plugin-node-resolve": "^5.2.0",
85 "rollup-plugin-terser": "^5.3.0",
86 "tsd": "^0.11.0"
87 },
88 "browserslist": [
89 "ie >= 11",
90 "last 4 Safari major versions",
91 "last 10 Chrome major versions",
92 "last 10 Firefox major versions",
93 "last 4 Edge major versions"
94 ],
95 "ignore": [
96 "examples",
97 "docs"
98 ]
99}