summaryrefslogtreecommitdiff
path: root/date-fns/examples/lodash-fp/package.json
blob: b833d0c8b70026b236cbbf0ec95d83479e7a7dbb (plain)
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
{
  "name": "date-fns-example-babel",
  "version": "0.1.0",
  "description": "Example of date-fns usage with webpack 1.x, babel and lodash",
  "main": "example.js",
  "author": "Sasha Koss <koss@nocorp.me>",
  "license": "MIT",
  "dependencies": {
    "babel-core": "^6.22.1",
    "babel-loader": "6",
    "babel-preset-babili": "^0.0.11",
    "babel-preset-es2015": "^6.22.0",
    "babili": "^0.0.11",
    "gzip-size-cli": "^1.0.0",
    "lodash": "^4.17.4",
    "pretty-bytes-cli": "^2.0.0",
    "webpack": "1"
  },
  "scripts": {
    "build": "yarn run build-date-fns && yarn run build-webpack && yarn run build-babili",
    "build-date-fns": "env PACKAGE_OUTPUT_PATH=\"$(pwd)/node_modules/date-fns\" ../../scripts/build/package.sh",
    "build-webpack": "webpack",
    "build-babili": "babili dist/example.js --out-file dist/example.min.js --minified --no-comments && yarn run stats-size",
    "stats-size": "gzip-size dist/example.min.js | pretty-bytes",
    "test": "test $(env TZ=UTC node ./dist/example.min.js) = true"
  }
}