-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 5.79 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "dyna-guid",
"version": "2.2.1",
"description": "Javascript GUID generator",
"repository": {
"type": "git",
"url": "http://github.com/aneldev/dyna-guid"
},
"sideEffects": false,
"source": "src/index.ts",
"types": "dist/commonJs/index.d.ts",
"main": "dist/commonJs/index.js",
"esnext": "dist/esNext/index.ts",
"scripts": {
"create": "echo Creation started... && yarn .creation-prepare && yarn install && yarn .creation-prepare-for-single && yarn .creation-done && echo --- module created",
"create-multi": "echo Creation started... && yarn .creation-prepare && yarn install && yarn .creation-done && echo --- module created",
".creation-prepare": "rm -rf .git; rm -rf yarn.lock mv README.md README.boilerplate.md; echo \\# readme > README.md",
".creation-prepare-for-single": "rm -rf ./src/node ./src/web ./src/person ./src/utils; echo \"console.log('Hello world');\" > ./src/index.ts && yarn build",
".creation-done": "node _boilerplateCreateModule.js && echo --- module created, set the name, version and repo address in package.json",
"install-check": "yarn install --check-files",
"install-clean": "rm -rf node_modules; install",
"debug-dev-browser": "webpack-dev-server --config webpack.debug-dev.browser.config.js --devtool eval --progress --open / --host 127.0.0.1 --port 3300",
"debug-dev-browser-at": "yarn debug-dev-browser --port",
"debug-dev-build": "rm -rf ./debug-ground/debug-dev-on-nodejs/*; webpack --config webpack.debug-dev.nodejs.config.js --watch",
"debug-dev-devtools": "node --inspect --expose-gc --optimize_for_size --max_old_space_size=460 --gc_interval=100 --trace-warnings ./debug-ground/debug-dev-on-nodejs/index.js && yarn debug-dev-devtools",
"debug-dev-devtools-brk": "node --inspect-brk --expose-gc --optimize_for_size --max_old_space_size=460 --gc_interval=100 --trace-warnings ./debug-ground/debug-dev-on-nodejs/index.js && yarn debug-dev-devtools-brk",
"debug-dev-run": "node --expose-gc --expose-gc --optimize_for_size --max_old_space_size=460 --gc_interval=100 --trace-warnings ./debug-ground/debug-dev-on-nodejs/index.js",
"debug-tests": "yarn debug-jest",
"debug-jest": "node --inspect-brk node_modules/.bin/jest --runInBand",
"analyze": "set NODE_ENV=development && webpack --config webpack.dist.analyze.config.js",
"build": "yarn lint && set NODE_ENV=production && rm -rf ./dist; node tsconfig.update.js && tsc --p tsconfig.commonJs.json && tsc --p tsconfig.esNext.json",
"build-watch-commonJs": "rm -rf ./dist/commonJs; node tsconfig.update.js && tsc --watch --p tsconfig.commonJs.json",
"build-watch-esNext": "rm -rf ./dist/esNext; node tsconfig.update.js && tsc --watch --p tsconfig.esNext.json",
"lint": "eslint -c .eslintrc.js ./src ./tests",
"lint-fix": "eslint -c .eslintrc.js --fix ./src ./tests",
"test": "jest --coverage --no-cache --runInBand",
"test-no-coverage": "jest --no-cache --runInBand",
"test-watch": "jest --watch --verbose --runInBand",
"commit": "git add -u && git add -A && git commit --allow-empty -m",
"commit-amend": "git add -u && git add -A && git commit --amend --allow-empty --no-edit",
"publish-push": "yarn version --patch && yarn publish --non-interactive && git push && git push --tags",
"sync-usages": "node sync-usages.js",
"sync-usages-watch": "node sync-usages.js --watch",
"release": "yarn build && yarn test && git add -u && git add -A && git commit --allow-empty -m \"Build changes\" && yarn publish-push",
"upgrade-release": "yarn upgrade && yarn release"
},
"keywords": [
"guid"
],
"author": "Anel dev",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.1.0",
"@types/enzyme": "^3.1.15",
"@types/jest": "^27.0.1",
"@types/node": "^10.12.2",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"autoprefixer": "^7.2.6",
"babel-jest": "^26.6.3",
"babel-loader": "^8.1.0",
"babel-preset-minify": "^0.5.1",
"chokidar": "^3.4.0",
"circular-dependency-plugin": "^5.2.2",
"dyna-guid": "^1.0.10",
"dyna-node-arguments": "^2.0.1",
"dyna-node-console": "^1.0.7",
"dyna-node-fs": "^1.0.4",
"enzyme": "^3.7.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^7.32.0",
"eslint-plugin-etc": "^2.0.1",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.27.1",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"image-webpack-loader": "^8.0.1",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"jest-junit": "^12.0.0",
"jest-localstorage-mock": "^2.4.0",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"source-map-loader": "0.1.5",
"ts-jest": "^26.4.3",
"ts-loader": "^9.2.5",
"typescript": "^4.3.2",
"webpack": "^5.64.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1",
"webpack-dev-middleware": "^5.2.2",
"webpack-dev-server": "^4.5.0",
"webpack-node-externals": "^3.0.0"
},
"jest": {
"setupFilesAfterEnv": [
"./tests/setup/testSetup.ts"
],
"automock": false,
"collectCoverage": false,
"testEnvironment": "jest-environment-node",
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(src|tests)/.*\\.(test|spec)\\.(ts|tsx|js|jsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"moduleNameMapper": {
"\\.(css|less|scss|jpg|png|svg|gif)$": "identity-obj-proxy"
},
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/**/*.{ts,tsx,js,jsx}",
"!src/**/*.d.ts"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"jest-junit": {
"output": "./coverage/junit.xml"
}
}