UNPKG

2.88 kBJSONView Raw
1{
2 "name": "single-spa",
3 "version": "5.9.3",
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 "test:lockfile": "js-correct-lockfile yarn",
21 "format": "prettier --write .",
22 "check-format": "prettier --check .",
23 "lint": "eslint src"
24 },
25 "tsd": {
26 "testDir": "spec/typings",
27 "compilerOptions": {
28 "lib": [
29 "dom"
30 ]
31 }
32 },
33 "husky": {
34 "hooks": {
35 "pre-commit": "pretty-quick --staged && concurrently yarn:test yarn:lint"
36 }
37 },
38 "files": [
39 "lib",
40 "typings/single-spa.d.ts"
41 ],
42 "homepage": "https://single-spa.js.org",
43 "repository": "https://github.com/single-spa/single-spa",
44 "bugs": "https://github.com/single-spa/single-spa/issues",
45 "keywords": [
46 "microfrontends",
47 "single",
48 "page",
49 "application",
50 "framework",
51 "react",
52 "angular",
53 "vue",
54 "router",
55 "microservices",
56 "frontend"
57 ],
58 "author": "Joel Denning",
59 "license": "MIT",
60 "dependencies": {},
61 "devDependencies": {
62 "@babel/core": "^7.9.0",
63 "@babel/eslint-parser": "^7.11.5",
64 "@babel/plugin-syntax-dynamic-import": "^7.8.3",
65 "@babel/preset-env": "^7.9.0",
66 "@rollup/plugin-replace": "^2.3.1",
67 "@types/jest": "^25.1.4",
68 "babel-eslint": "^10.1.0",
69 "babel-jest": "^25.1.0",
70 "babel-plugin-dynamic-import-node": "^2.3.0",
71 "concurrently": "^5.1.0",
72 "cross-env": "^7.0.2",
73 "custom-event": "^1.0.1",
74 "eslint": "6.8.0",
75 "eslint-config-important-stuff": "^1.1.0",
76 "eslint-plugin-es5": "^1.5.0",
77 "husky": "^4.2.3",
78 "jest": "^25.1.0",
79 "js-correct-lockfile": "^1.0.0",
80 "prettier": "^2.0.2",
81 "pretty-quick": "^2.0.1",
82 "rimraf": "^3.0.2",
83 "rollup": "^2.2.0",
84 "rollup-plugin-analyzer": "^3.1.2",
85 "rollup-plugin-babel": "^4.4.0",
86 "rollup-plugin-commonjs": "^10.1.0",
87 "rollup-plugin-node-resolve": "^5.2.0",
88 "rollup-plugin-terser": "^5.3.0",
89 "tsd": "^0.11.0"
90 },
91 "browserslist": [
92 "ie >= 11",
93 "last 4 Safari major versions",
94 "last 10 Chrome major versions",
95 "last 10 Firefox major versions",
96 "last 4 Edge major versions"
97 ],
98 "ignore": [
99 "examples",
100 "docs"
101 ]
102}