|
30 | 30 | "license": "MIT", |
31 | 31 | "repository": { |
32 | 32 | "type": "git", |
33 | | - "url": "https://github.com/matmar10/just-api.git" |
| 33 | + "url": "https://github.com/matmar10/rest-ez.git" |
34 | 34 | }, |
35 | 35 | "engines": { |
36 | 36 | "node": ">=7.10.0", |
|
45 | 45 | "dist:files": "npm run dist:files:json && npm run dist:files:css", |
46 | 46 | "dist:files:json": "mkdir -p src/schema/yaml && cp -r lib/schema/yaml/*.json src/schema/yaml/", |
47 | 47 | "dist:files:css": "mkdir -p src/reporters/html-src/assets && cp -r lib/reporters/html-src/assets/*.css src/reporters/html-src/assets/", |
48 | | - "clean": "rm -rf src", |
49 | | - "install_testapi": "cd test/api && npm install && cp db_original.json db.json", |
50 | | - "start_testapi": "npm run install_testapi && cd test/api && node server.js", |
51 | | - "clean_testlogs": "rm -rf test/cli/src/logs && mkdir test/cli/src/logs", |
52 | | - "test": "npm run clean_testlogs && ./node_modules/.bin/mocha --timeout 10000 test/cli/*.spec.js", |
| 48 | + "clean": "npm run clean:src && npm run clean:test-logs", |
| 49 | + "clean:src": "rm -rf src", |
| 50 | + "clean:test-logs": "rm -rf test/cli/src/logs && mkdir test/cli/src/logs", |
| 51 | + "test-api": "npm run test-api:install && npm run test-api:start", |
| 52 | + "test-api:install": "cd test/api && npm install && cp db_original.json db.json", |
| 53 | + "test-api:start": "npm run testapi:install && cd test/api && node server.js", |
| 54 | + "test": "npm run clean:test-logs && mocha --timeout 10000 test/cli/*.spec.js", |
53 | 55 | "release": "release-it" |
54 | 56 | }, |
55 | 57 | "dependencies": { |
|
94 | 96 | "release-it": "^14.10.1" |
95 | 97 | }, |
96 | 98 | "bin": { |
97 | | - "just-api": "./bin/just-api" |
| 99 | + "rest-ez": "./bin/rest-ez" |
98 | 100 | }, |
99 | 101 | "files": [ |
100 | 102 | "bin", |
|
0 commit comments