-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.74 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
{
"name": "wigly",
"version": "0.5.16",
"main": "dist/wigly.es5.js",
"scripts": {
"start": "npm run start:clean && npm run start:gcc && npm run start:gzip",
"start:clean": "rm -rf dist && mkdir -p dist",
"start:gcc": "npm run start:gcc:es5 && npm run start:gcc:es6",
"start:gcc:es5": "node_modules/google-closure-compiler-linux/compiler --generate_exports --export_local_property_definitions --isolation_mode IIFE --use_types_for_optimization --assume_function_wrapper --formatting SINGLE_QUOTES --module_resolution WEBPACK --language_in=ECMASCRIPT_NEXT --language_out=ECMASCRIPT5 --compilation_level SIMPLE --js_output_file=dist/wigly.es5.js --js 'src/**.js' --js 'node_modules/superfine/src/index.js'",
"start:gcc:es6": "node_modules/google-closure-compiler-linux/compiler --generate_exports --export_local_property_definitions --isolation_mode IIFE --use_types_for_optimization --assume_function_wrapper --formatting SINGLE_QUOTES --module_resolution WEBPACK --language_in=ECMASCRIPT_NEXT --language_out=ECMASCRIPT6 --compilation_level SIMPLE --js_output_file=dist/wigly.es6.js --js 'src/**.js' --js 'node_modules/superfine/src/index.js'",
"start:gzip": "gzip dist/* -k -f",
"test": "ava",
"size": "wc -c dist/*"
},
"dependencies": {
"superfine": "^6.0.1"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-transform-react-jsx": "^7.1.6",
"ava": "1.0.0-rc.2",
"babel-loader": "^8.0.4",
"browser-env": "^3.2.5",
"google-closure-compiler-linux": "^20181125.0.1"
},
"ava": {
"babel": {
"testOptions": {
"plugins": [
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "h"
}
]
]
}
}
}
}