-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.87 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
{
"name": "@sozialhelden/twelve-factor-dotenv",
"private": false,
"version": "17.0.0",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"author": "Sebastian Felix Zappe <[email protected]>",
"repository": "sozialhelden/twelve-factor-dotenv",
"files": [
"dist"
],
"types": "dist/index.d.ts",
"bundleDependencies": [],
"deprecated": false,
"description": "12-factor environment-based config for SSR web apps. Isometric API with a filter to decide which secrets are shared with client-side code.",
"devDependencies": {
"@babel/parser": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.6.3",
"@babel/preset-typescript": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@babel/types": "^7.8.3",
"@types/jest": "^27.5.0",
"@types/react": "^16.9.21",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^28.0.3",
"coveralls": "^3.0.9",
"cross-env": "^7.0.0",
"eslint": "^8.13.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.1.0",
"jest-cli": "^28.0.3",
"json": "^10.0.0",
"npm-run-all": "^4.1.5",
"react-test-renderer": "^18.1.0",
"renamer": "^1.1.3",
"rimraf": "^3.0.0"
},
"peerDependencies": {
"react": ">=18",
"react-dom": "^18.1.0"
},
"scripts": {
"prebuild": "rimraf dist",
"build:esm": "tsc -d --module esnext --target esnext --outDir dist/esm && npm run build:esm:rename && npm run build:esm:edit-map",
"build:esm:edit-map": "for FILE in `find dist -type f -name \"*.mjs\"`; do json -I -f $FILE.map -e \"this.file='$(basename -- $FILE)'\" && sed 's/sourceMappingURL=\\([^ ]*\\).js.map/sourceMappingURL=\\1.mjs.map/g' $FILE > $FILE.remap && mv $FILE.remap $FILE ; done",
"build:esm:rename": "renamer --find .js --replace .mjs 'dist/**/*.js*'",
"build:cjs": "tsc -m commonjs --outDir dist/cjs",
"build": "rm -rf dist/**/* && npm run build:esm && npm run build:cjs && rm dist/**/*.spec.*",
"start": "tsc -w",
"test": "jest",
"lint": "eslint",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"format": "eslint --fix src/**/*.ts",
"prettier": "npx prettier --fix src/**/*.ts test/**/*.ts --write --single-quote",
"deploy": "npm run build && npm run test:prod && npm publish --access public"
},
"dependencies": {
"@types/jsdom": "^16.2.14",
"@types/node": "^17.0.32",
"dotenv": "^8.6.0",
"jest-environment-jsdom": "^28.1.0",
"ts-jest": "^28.0.2"
}
}