-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.48 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
{
"name": "laravelphp",
"version": "2.0.4",
"description": "laravel2js and js2laravel converter laravel php resource utils",
"type": "module",
"main": "./cjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./cjs/index.js",
"default": "./esm/index.js"
},
"./laravel2js": {
"require": "./cjs/laravel2js.js",
"default": "./esm/laravel2js.js"
},
"./js2laravel": {
"require": "./cjs/js2laravel.js",
"default": "./esm/js2laravel.js"
},
"./cjs": {
"default": "./cjs/index.js"
},
"./cjs/laravel2js": {
"default": "./cjs/laravel2js.js"
},
"./cjs/js2laravel": {
"default": "./cjs/js2laravel.js"
},
"./esm": {
"default": "./esm/index.js"
},
"./esm/laravel2js": {
"default": "./esm/laravel2js.js"
},
"./esm/js2laravel": {
"default": "./esm/js2laravel.js"
}
},
"module": "./esm/index.js",
"dependencies": {
"php-parser": "3.1.5"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"babel-plugin-add-module-exports": "1.0.4",
"browserify": "17.0.0",
"eslint": "8.51.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "4.1.0",
"expect.js": "0.3.1",
"mocha": "10.2.0",
"uglify-js": "3.17.4"
},
"scripts": {
"lint": "eslint .",
"compile:esm": "rm -rf esm && mkdir esm && BABEL_ENV=esm babel lib -d esm",
"compile:cjs": "rm -rf cjs && mkdir cjs && BABEL_ENV=cjs babel lib -d cjs && echo '{\"type\":\"commonjs\"}' > cjs/package.json",
"compile": "npm run compile:esm && npm run compile:cjs",
"browser": "browserify --standalone laravelphp cjs/index.js -o laravelphp.js && uglifyjs laravelphp.js --compress --mangle -o laravelphp.min.js",
"build": "npm run compile && npm run browser",
"test": "npm run lint && npm run build && mocha test -R spec",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"keywords": [
"laravel",
"php",
"json",
"js",
"translation",
"converter"
],
"author": "adrai",
"license": "MIT",
"homepage": "http://locize.com",
"repository": {
"type": "git",
"url": "git+https://github.com/locize/laravelphp.git"
}
}