-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
34 lines (34 loc) · 1.15 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
{
"name": "trixion",
"description": "Ultra light weight web stack bundle",
"version": "1.0.0",
"main": "dist/trixion.js",
"devDependencies": {
"babel-core": "^6.8.0",
"babel-cli": "^6.8.0",
"babel-loader": "^6.2.4",
"babel-eslint": "^6.0.4",
"babel-preset-es2015": "^6.9.0",
"eslint": "^2.10.1",
"eslint-loader": "^1.3.0",
"url-loader": "^0.5.7",
"uglify-js": "^2.6.2",
"preact": "^7.1.0",
"webpack": "^1.13.0"
},
"scripts": {
"build": "npm run clean && npm run transpile && npm run bundle",
"watch": "NODE_ENV=production webpack --bail --progress --watch",
"transpile": "babel -d ./polyfill src/polyfill",
"bundle": "NODE_ENV=production webpack --bail --progress && npm run minify",
"minify": "cat ./dist/${npm_package_name}.js | uglifyjs | tee ./dist/${npm_package_name}.min.js | gzip > ./dist/${npm_package_name}.min.js.gz",
"clean": "rm -fr polyfill dist",
"profile": "NODE_ENV=production webpack -p --profile --json > stats.json",
"prepublish": "npm run build"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mrbar42/trixion.git"
}
}