This repository has been archived by the owner on May 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.42 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
{
"name": "react4xp-runtime-externals",
"version": "1.0.6",
"description": "React4xp helper: using webpack externals as input, generates a runnable externals chunk for shared external libraries",
"main": "webpack.config.js",
"files": [
"webpack.config.js",
"README.md",
"LICENSE"
],
"scripts": {
"lint": "eslint --fix src/**/*.js",
"test:main": "echo \"(Placeholder necessary for task dependencies)\"",
"test:webpack": "webpack --config ./webpack.config.js --env.REACT4XP_CONFIG_FILE=/test/react4xpConstants.json --env.BUILD_R4X=$(pwd)/build && echo \"\" && echo \"--> build/\" && ls build && echo \"-------------- react4xp-runtime-externals builds. ADD SOME ACTUAL TESTS PLZ?\"",
"test:prepare": "npm i react react-dom",
"test:cleanup": "npm remove react react-dom",
"nsi:install": "npm-safe-install",
"postversion": "cd ../.. && ./copytag.js externals"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:enonic/react4xp-npm.git"
},
"author": "Espen Norderud",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/enonic/lib-react4xp/issues"
},
"homepage": "https://github.com/enonic/react4xp-runtime-externals/",
"dependencies": {
"chunks-2-json-webpack-plugin": "^1.0.4"
},
"peerDependencies": {
"@babel/cli": "^7",
"@babel/preset-env": "^7",
"@babel/register": "^7",
"babel-loader": "^8",
"react": "*",
"react-dom": "*",
"webpack": "^4",
"webpack-cli": "^3"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/register": "^7.13.8",
"babel-loader": "^8.2.2",
"copyfiles": "^2.4.1",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.1.3",
"lint-staged": "^8.1.7",
"npm-safe-install": "^1.1.0",
"prettier": "^1.18.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"lint-staged": {
"*.{js,jsx,json}": [
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"_TEMP_DISABLED_pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"directories": {
"lib": "lib",
"test": "__tests__"
}
}