generated from WezomCompany/typescript-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 3.09 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": "@wezom/dynamic-modules-import",
"version": "0.2.3-beta",
"description": "A library for defining the modules used on the page and loading them asynchronously on demand",
"main": "dist/ts/index.ts",
"files": [
"dist"
],
"scripts": {
"dev": "tsc --watch",
"build": "npm run build:clean && npm run build:tsc-es6 && npm run build:tsc-es5 && npm run build:ts && npm run build:finalize",
"----------------------------------------------- BUIL-STEPS": "SECTION",
"build:clean": "del-cli ./dist",
"build:tsc-es6": "tsc",
"build:tsc-es5": "tsc --project tsconfig-es5.json",
"build:ts": "cp-cli src/index.ts dist/ts/index.ts",
"build:finalize": "prettier dist/**/*.{d.ts,js} --check --write",
"----------------------------------------------- SERVE": "SECTION",
"serve": "webpack serve",
"----------------------------------------------- TEST": "SECTION",
"test": "npm run prettier && npm run eslint-js && npm run eslint-ts && npm run jest",
"test:autofix": "npm run prettier:autofix && npm run eslint-js:autofix && npm run eslint-ts:autofix && npm run jest:coverage",
"----------------------------------------------- TEST-INNER": "SECTION",
"eslint-ts": "eslint src/**/*.ts --cache --cache-location .cache/.eslintcache-ts",
"eslint-ts:autofix": "npm run eslint-ts -- --fix",
"eslint-js": "eslint ./*.js --cache --cache-location .cache/.eslintcache-js",
"eslint-js:autofix": "npm run eslint-js -- --fix",
"prettier": "prettier src/**/*.ts --check",
"prettier:autofix": "npm run prettier -- --write",
"jest": "jest",
"jest:coverage": "jest --coverage --collectCoverageFrom=\"./src/index.ts\"",
"precoverage": "del-cli ./coverage",
"postjest:coverage": "istanbul-badges-readme"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WezomCompany/dynamic-modules-import.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"dynamic",
"modules",
"loader",
"import",
"on-demand",
"client"
],
"author": "Oleg Dutchenko <[email protected]>",
"license": "BSD 3-Clause License",
"bugs": {
"url": "https://github.com/WezomCompany/dynamic-modules-import/issues"
},
"homepage": "https://github.com/WezomCompany/dynamic-modules-import#readme",
"peerDependencies": {
"jquery": "^3.4.1"
},
"devDependencies": {
"@stripped-ui/eslint-config": "^0.3.0-beta.0",
"@stripped-ui/eslint-config-ts": "^0.3.1-beta.0",
"@types/jest": "^25.2.1",
"@types/jquery": "^3.5.4",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"babel-eslint": "^10.1.0",
"cp-cli": "^2.0.0",
"del-cli": "^3.0.1",
"eslint": "^7.13.0",
"eslint-plugin-jest": "^24.1.0",
"from-cwd": "^1.0.1",
"html-webpack-plugin": "^4.5.0",
"istanbul-badges-readme": "^1.0.5",
"jest": "^25.5.3",
"jquery": "^3.4.1",
"prettier": "^2.0.5",
"ts-jest": "^25.4.0",
"ts-loader": "^8.0.11",
"typescript": "^3.8.3",
"webpack": "^4.44.2",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0"
}
}