1 | {
|
2 | "name": "single-spa",
|
3 | "version": "5.0.0",
|
4 | "description": "Microfrontends made easy",
|
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": "BABEL_ENV=test jest --config jest.config.json",
|
17 | "prettier": "prettier './**' --write",
|
18 | "lint": "eslint src"
|
19 | },
|
20 | "husky": {
|
21 | "hooks": {
|
22 | "pre-commit": "pretty-quick --staged && concurrently yarn:test yarn:lint"
|
23 | }
|
24 | },
|
25 | "files": [
|
26 | "lib",
|
27 | "typings"
|
28 | ],
|
29 | "homepage": "https://single-spa.js.org",
|
30 | "repository": "https://github.com/single-spa/single-spa",
|
31 | "bugs": "https://github.com/single-spa/single-spa/issues",
|
32 | "keywords": [
|
33 | "microfrontends",
|
34 | "single",
|
35 | "page",
|
36 | "application",
|
37 | "framework",
|
38 | "react",
|
39 | "angular",
|
40 | "vue"
|
41 | ],
|
42 | "author": "Joel Denning",
|
43 | "license": "MIT",
|
44 | "dependencies": {},
|
45 | "devDependencies": {
|
46 | "@babel/core": "^7.5.5",
|
47 | "@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
48 | "@babel/preset-env": "^7.5.5",
|
49 | "@rollup/plugin-replace": "^2.2.1",
|
50 | "@types/jest": "^24.0.23",
|
51 | "babel-eslint": "^10.0.3",
|
52 | "babel-jest": "^24.9.0",
|
53 | "babel-plugin-dynamic-import-node": "^2.3.0",
|
54 | "concurrently": "^5.0.0",
|
55 | "custom-event": "^1.0.1",
|
56 | "eslint": "6.3.0",
|
57 | "eslint-config-canopy": "2.3.0",
|
58 | "eslint-config-important-stuff": "^1.1.0",
|
59 | "husky": "^3.0.5",
|
60 | "jest": "^24.9.0",
|
61 | "prettier": "^1.19.1",
|
62 | "pretty-quick": "^2.0.1",
|
63 | "rimraf": "^3.0.0",
|
64 | "rollup": "^1.20.3",
|
65 | "rollup-plugin-analyzer": "^3.1.2",
|
66 | "rollup-plugin-babel": "^4.3.3",
|
67 | "rollup-plugin-commonjs": "^10.1.0",
|
68 | "rollup-plugin-node-resolve": "^5.2.0",
|
69 | "rollup-plugin-terser": "^5.1.1"
|
70 | },
|
71 | "browserslist": [
|
72 | "ie >= 11",
|
73 | "last 4 Safari major versions",
|
74 | "last 10 Chrome major versions",
|
75 | "last 10 Firefox major versions",
|
76 | "last 4 Edge major versions"
|
77 | ],
|
78 | "ignore": [
|
79 | "examples",
|
80 | "docs"
|
81 | ]
|
82 | }
|