This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.95 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
{
"name": "parsorama",
"version": "0.1.0",
"description": "parser developing tool",
"main": "dist/node/parsorama.js",
"browser": "dist/web.js",
"types": "dist/parsorama.d.ts",
"directories": {
"lib": "src"
},
"dependencies": {
"babel-loader": "^8.2.3"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/node": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-plugin-replace-import-extension": "^1.1.2",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.25.3",
"eslint-webpack-plugin": "^2.6.0",
"source-map-loader": "^2.0.2",
"ts-loader": "^8.3.0",
"typescript": "^4.5.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint . --ext .ts --fix",
"babel": "npx babel src/ -d dist -x .ts --config-file ./builder/babel.config.json --out-file-extension .js -s",
"babel-node": "npx babel src/ -d dist/node -x .ts --config-file ./builder/node.babel.config.json --out-file-extension .js -s",
"build": "(npm run lint && (tsc -p builder/tsconfig.json & npm run babel & npm run babel-node)) & webpack -c builder/webpack.config.js",
"build-browser": "npm run lint && (tsc -p builder/tsconfig.json & npm run babel)",
"build-node": "npm run lint && (tsc -p builder/tsconfig.json & npm run babel-node)",
"build-web": "webpack -c builder/webpack.config.js",
"build-web-dev": "webpack -c builder/webpack.config.js --mode development"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hsl0/parsorama.git"
},
"keywords": [
"parser"
],
"author": "hsl0",
"license": "MIT",
"bugs": {
"url": "https://github.com/hsl0/parsorama/issues"
},
"homepage": "https://github.com/hsl0/parsorama#readme"
}