-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·71 lines (71 loc) · 2.89 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
{
"name": "japont-loader",
"version": "0.0.1",
"author": "3846masa",
"aliasify": "./aliasify.config.js",
"browser": "./dist/japont-loader.min.js",
"browserify-shim": "./browserify-shim.config.js",
"dependencies": {
"axios": "^0.15.1",
"isomorphic-fetch": "^2.2.1",
"js-polyfills": "^0.1.27",
"js-sha512": "^0.2.2",
"jszip": "^3.1.3",
"lodash.noop": "^3.0.1"
},
"devDependencies": {
"@types/isomorphic-fetch": "^0.0.31",
"@types/jszip": "^0.0.31",
"@types/node": "^6.0.45",
"babel-cli": "^6.16.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-external-helpers": "^6.8.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-babili": "^0.0.5",
"babel-preset-env": "^0.0.6",
"babel-preset-es2015-node4": "^2.1.0",
"babel-preset-es2016": "^6.16.0",
"babel-preset-es2017": "^6.16.0",
"babel-preset-modern-browsers": "^6.0.0",
"babelify": "^7.3.0",
"babili": "^0.0.7",
"browserify": "^13.1.0",
"browserify-shim": "^3.8.12",
"cross-env": "^3.1.3",
"disc": "^1.3.2",
"eslint": "^3.8.0",
"eslint-config-airbnb-base": "^9.0.0",
"eslint-plugin-import": "2",
"licensify": "^3.1.2",
"npm-run-all": "^3.1.1",
"shx": "^0.1.4",
"typescript": "^2.0.3"
},
"files": [
"LICENSE",
"README.md",
"package.json",
"yarn.lock",
"esnext",
"commonjs",
"dist"
],
"jsnext:main": "esnext/index.js",
"keywords": [],
"license": "Apache-2.0",
"main": "commonjs/index.js",
"scripts": {
"build": "npm-run-all clean build:init build:esnext -p build:commonjs build:browser",
"build:browser": "npm-run-all -p build:browser:* -p minify:browser:*",
"build:browser:legacy": "cross-env BABEL_ENV='legacy' SHIM_ENV='legacy' browserify --standalone JapontLoader -e ./esnext/index.js -p ./monky-patchify.js -p licensify -t babelify -t browserify-shim -o ./dist/japont-loader.legacy.js",
"build:browser:main": "cross-env BABEL_ENV='modern' SHIM_ENV='modern' browserify --standalone JapontLoader -e ./esnext/index.js -p ./monky-patchify.js -p licensify -t babelify -t browserify-shim -o ./dist/japont-loader.js",
"build:commonjs": "cross-env BABEL_ENV='commonjs' babel ./esnext --out-dir ./commonjs",
"build:esnext": "tsc",
"build:init": "shx mkdir dist/ commonjs/ esnext/",
"clean": "shx rm -r dist/ commonjs/ esnext/",
"discify": "cross-env BABEL_ENV='legacy' SHIM_ENV='legacy' browserify --standalone JapontLoader -e ./esnext/index.js -p ./monky-patchify.js -p licensify -t babelify -t browserify-shim --full-paths | discify > disc.html",
"minify:browser:legacy": "cross-env BABEL_ENV='minify' babel ./dist/japont-loader.legacy.js -o ./dist/japont-loader.legacy.min.js",
"minify:browser:main": "cross-env BABEL_ENV='minify' babel ./dist/japont-loader.js -o ./dist/japont-loader.min.js",
"test": "echo \"Error: no test specified\" && exit 1"
}
}