This repository has been archived by the owner on Jan 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.97 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
{
"name": "PLATO",
"version": "3.0.0-beta.16",
"description": "a Boilerplate for [mobile] SPAs use vue, vuex, vue-router",
"license": "MIT",
"main": "src/index.js",
"scripts": {
"mirror:sdp": "node ./cli/mirror http://registry.npm.sdp.nd",
"mirror:tb": "node ./cli/mirror https://registry.npm.taobao.org",
"mirror:npm": "node ./cli/mirror https://registry.npmjs.org",
"init": "npm install",
"lock": "npm shrinkwrap",
"unlock": "rm -rf npm-shrinkwrap.json",
"start": "cross-env SCRIPT=start npm run build && serve ./dist",
"mock": "cross-env NODE_ENV=development DEBUG=PLATO:* json-server ./mock/db.json -w -p 3001 -r ./mock/routes.json",
"wds": "cross-env NODE_ENV=development DEBUG=PLATO:* webpack-dev-server --progress",
"dev": "concurrently -r -k \"npm run mock\" \"npm run wds\"",
"e2e": "cross-env NODE_ENV=test DEBUG=PLATO:* node ./test/e2e/runner.js",
"e2e:dev": "cross-env NODE_ENV=test DEBUG=PLATO:* nodemon ./test/e2e/runner.js",
"unit": "cross-env NODE_ENV=test DEBUG=PLATO:* karma start ./test/unit/runner.js",
"unit:dev": "npm run unit -- --watch",
"lint": "eslint --max-warnings 10 .",
"lint:fix": "npm run lint -- --fix",
"lint:css": "stylelint src/**/*.css",
"test": "npm run lint && npm run lint:css && npm run unit && npm run e2e",
"clean": "node ./cli/clean",
"compile": "cross-env NODE_ENV=production DEBUG=PLATO:* node ./cli/compile",
"build": "npm run test && npm run clean && npm run compile",
"demo": "cross-env SCRIPT=demo bash ./cli/demo.sh",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"core-js": "^2.4.1",
"nuo": "^1.0.0",
"platojs": "latest",
"string-template": "^1.0.0",
"vuex-localstorage": "^1.0.0",
"whatwg-fetch": "^2.0.3",
"snyk": "^1.234.0"
},
"devDependencies": {
"plato-dev-dependencies": "latest"
},
"engines": {
"node": ">=7.7.4",
"npm": ">=4.1.2"
},
"snyk": true
}